Fixes sequential checks
This commit is contained in:
parent
83dcf536d8
commit
42d0b6271f
67 changed files with 99 additions and 99 deletions
|
|
@ -196,7 +196,7 @@ namespace Server.Mobiles
|
|||
|
||||
public bool Devour( Corpse corpse )
|
||||
{
|
||||
if ( corpse == null || corpse.Owner == null ) // sorry we can't devour because the corpse's owner is null
|
||||
if ( corpse?.Owner == null ) // sorry we can't devour because the corpse's owner is null
|
||||
return false;
|
||||
|
||||
if ( corpse.Owner.Body.IsHuman )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue