Fixes null propogation
This commit is contained in:
parent
22ab83ea9e
commit
3c9842ee5a
218 changed files with 799 additions and 1458 deletions
|
|
@ -257,10 +257,7 @@ namespace Server.Misc
|
|||
{
|
||||
Mobile mob = acc[i];
|
||||
|
||||
if ( mob == null )
|
||||
continue;
|
||||
|
||||
string lang = mob.Language;
|
||||
string lang = mob?.Language;
|
||||
|
||||
if ( lang != null )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue