|
|
@ -722,8 +722,7 @@ public class MobAI { |
|
|
|
try { |
|
|
|
try { |
|
|
|
|
|
|
|
|
|
|
|
if(mob.getTimestamps().containsKey("lastChase") == false) { |
|
|
|
if(mob.getTimestamps().containsKey("lastChase") == false) { |
|
|
|
mob.getTimestamps().put("lastChase", System.currentTimeMillis()); |
|
|
|
mob.getTimestamps().put("lastChase", System.currentTimeMillis());//ensure mob timestamps have the lastChase parameter
|
|
|
|
return;//ensure mob timestamps have the lastChase parameter
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if(mob.getTimestamps().get("lastChase") + 1000 < System.currentTimeMillis()) |
|
|
|
if(mob.getTimestamps().get("lastChase") + 1000 < System.currentTimeMillis()) |
|
|
|