None added to enum MonsterType
This commit is contained in:
1 parent
38e5081b0e
commit
1d74643fe3
2 files changed
+2
-1
No files matched your search
@@ -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