Browse Source

corrected convention for naming auto attack job

combat-2
FatBoy-DOTC 6 months ago
parent
commit
cbe9a30590
  1. 2
      src/engine/gameManager/CombatManager.java

2
src/engine/gameManager/CombatManager.java

@ -555,7 +555,7 @@ public enum CombatManager { @@ -555,7 +555,7 @@ public enum CombatManager {
AttackJob aj = new AttackJob(attacker, slot.ordinal(), true);
JobContainer job;
job = JobScheduler.getInstance().scheduleJob(aj, (System.currentTimeMillis() + delay)); // offset 1 millisecond so no overlap issue
timers.put("Attack" + slot, job);
timers.put("Attack" + slot.name(), job);
} else
Logger.error("Unable to find Timers for Character " + attacker.getObjectUUID());

Loading…
Cancel
Save