Browse Source

removed un-needed cast to player character for pets

combat-2
FatBoy-DOTC 1 year ago
parent
commit
6abdc68ca5
  1. 2
      src/engine/mobileAI/MobAI.java

2
src/engine/mobileAI/MobAI.java

@ -1110,7 +1110,7 @@ public class MobAI { @@ -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");

Loading…
Cancel
Save