Fixes sequential checks
This commit is contained in:
parent
83dcf536d8
commit
42d0b6271f
67 changed files with 99 additions and 99 deletions
|
|
@ -228,7 +228,7 @@ namespace Server.Items
|
|||
|
||||
public static bool IsPoisonImmune( BaseCreature bc )
|
||||
{
|
||||
return ( bc != null && bc.PoisonImmune != null );
|
||||
return ( bc?.PoisonImmune != null );
|
||||
}
|
||||
|
||||
public static int GetPoisonLevel( BaseCreature bc )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue