mob cast fix

This commit is contained in:
2024-04-21 16:33:35 -05:00
parent 7a445db673
commit 73c1f97051
+1 -1
View File
@@ -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());