removed un-needed cast to player character for pets

This commit is contained in:
2023-08-27 21:46:44 -05:00
parent 61c66b0e96
commit 6abdc68ca5
+1 -1
View File
@@ -1110,7 +1110,7 @@ public class MobAI {
try {
if ((PlayerCharacter) mob.guardCaptain == null && mob.isNecroPet() == false && mob.isSiege() == false)
if (mob.guardCaptain == null && mob.isNecroPet() == false && mob.isSiege() == false)
if (ZoneManager.getSeaFloor().zoneMobSet.contains(mob))
mob.killCharacter("no owner");