remove mob movement delay

This commit is contained in:
2023-10-16 14:23:18 -05:00
parent 5ed7662798
commit 1a0fc309f9
-7
View File
@@ -721,13 +721,6 @@ public class MobAI {
try {
if(mob.getTimestamps().containsKey("lastChase") == false) {
mob.getTimestamps().put("lastChase", System.currentTimeMillis());//ensure mob timestamps have the lastChase parameter
}
if(mob.getTimestamps().get("lastChase") + 1000 < System.currentTimeMillis())
return; // only allows mobs to chase once a second
if (!MovementUtilities.canMove(mob))
return;