From 73c1f970511290c6ebfc0bc237da2576398deaf7 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sun, 21 Apr 2024 16:33:35 -0500 Subject: [PATCH] mob cast fix --- src/engine/mobileAI/MobAI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/mobileAI/MobAI.java b/src/engine/mobileAI/MobAI.java index d5e0fb1a..4f3ca2f5 100644 --- a/src/engine/mobileAI/MobAI.java +++ b/src/engine/mobileAI/MobAI.java @@ -348,7 +348,7 @@ public class MobAI { if (mob.nextCastTime == 0) mob.nextCastTime = System.currentTimeMillis(); - return mob.nextCastTime <= System.currentTimeMillis(); + return mob.nextCastTime >= System.currentTimeMillis(); } catch (Exception e) { Logger.info(mob.getObjectUUID() + " " + mob.getName() + " Failed At: canCast" + " " + e.getMessage());