None added to enum MonsterType
This commit is contained in:
@@ -50,6 +50,7 @@ public class Enum {
|
||||
}
|
||||
|
||||
public enum MonsterType implements EnumBitSetHelper<MonsterType> {
|
||||
None,
|
||||
Aelfborn,
|
||||
All,
|
||||
Animal,
|
||||
|
||||
@@ -552,7 +552,7 @@ public class MobileFSM {
|
||||
|
||||
}
|
||||
public static void GuardMinionLogic(Mob mob){
|
||||
if(mob.despawned){
|
||||
if(mob.despawned || mob.isAlive() == false){
|
||||
if(System.currentTimeMillis() > mob.deathTime + (mob.spawnTime * 1000)){
|
||||
mob.respawn();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user