forked from MagicBane/Server
None added to enum MonsterType
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
@@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user