From cbe9a30590e9511663ac3254add1bb24c5daacdc Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sun, 26 May 2024 20:17:15 -0500 Subject: [PATCH] corrected convention for naming auto attack job --- src/engine/gameManager/CombatManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/gameManager/CombatManager.java b/src/engine/gameManager/CombatManager.java index 524c8970..3a228b98 100644 --- a/src/engine/gameManager/CombatManager.java +++ b/src/engine/gameManager/CombatManager.java @@ -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());