From 1a0fc309f97318d54545af2320ffaddc0095578a Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Mon, 16 Oct 2023 14:23:18 -0500 Subject: [PATCH] remove mob movement delay --- src/engine/mobileAI/MobAI.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/engine/mobileAI/MobAI.java b/src/engine/mobileAI/MobAI.java index 2b9ae40a..38864cac 100644 --- a/src/engine/mobileAI/MobAI.java +++ b/src/engine/mobileAI/MobAI.java @@ -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;