Misc cleanups

This commit is contained in:
hondacrx
2022-03-02 17:34:33 -05:00
parent 37b805aebe
commit e839f2234c
6 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -2638,7 +2638,7 @@ namespace Game.Entities
// can't assist player out of sanctuary from sanctuary if has pvp enabled
if (unitTarget.IsPvP())
if (unit != null && unit.IsInSanctuary() && !unitTarget.IsInSanctuary())
if (unit.IsInSanctuary() && !unitTarget.IsInSanctuary())
return false;
}
}