Fixes sequential checks

This commit is contained in:
Kamron Batman 2018-09-14 13:00:41 -07:00
parent 83dcf536d8
commit 42d0b6271f
67 changed files with 99 additions and 99 deletions

View file

@ -107,7 +107,7 @@ namespace Server.Spells.Spellweaving
BaseCreature pet = (BaseCreature)m;
Mobile master = pet.GetMaster();
if ( master != null && master.NetState != null && Utility.InUpdateRange( pet, master ) )
if ( master?.NetState != null && Utility.InUpdateRange( pet, master ) )
{
master.CloseGump( typeof( PetResurrectGump ) );
master.SendGump( new PetResurrectGump( master, pet, hitsScalar ) );