Browse Source

mob cast fix

lakebane-master
FatBoy-DOTC 8 months ago
parent
commit
73c1f97051
  1. 2
      src/engine/mobileAI/MobAI.java

2
src/engine/mobileAI/MobAI.java

@ -348,7 +348,7 @@ public class MobAI { @@ -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());

Loading…
Cancel
Save