respawn work

This commit is contained in:
2023-05-27 19:19:06 -05:00
parent a07ee7903b
commit 2e219916a0
-2
View File
@@ -303,10 +303,8 @@ public class MobileFSM {
if (mob.BehaviourType.ordinal() == Enum.MobBehaviourType.GuardMinion.ordinal()) {
if (mob.npcOwner.isAlive() == false || ((Mob) mob.npcOwner).despawned == true) {
//minions don't respawn while guard captain is dead
if (mob.isAlive() == false) {
mob.deathTime = System.currentTimeMillis();
return;
}
}
CheckForRespawn(mob);
return;