None added to enum MonsterType

This commit is contained in:
2023-04-22 17:49:26 -05:00
parent 38e5081b0e
commit 1d74643fe3
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -50,6 +50,7 @@ public class Enum {
} }
public enum MonsterType implements EnumBitSetHelper<MonsterType> { public enum MonsterType implements EnumBitSetHelper<MonsterType> {
None,
Aelfborn, Aelfborn,
All, All,
Animal, Animal,
+1 -1
View File
@@ -552,7 +552,7 @@ public class MobileFSM {
} }
public static void GuardMinionLogic(Mob mob){ public static void GuardMinionLogic(Mob mob){
if(mob.despawned){ if(mob.despawned || mob.isAlive() == false){
if(System.currentTimeMillis() > mob.deathTime + (mob.spawnTime * 1000)){ if(System.currentTimeMillis() > mob.deathTime + (mob.spawnTime * 1000)){
mob.respawn(); mob.respawn();
} }