From 2b8b9464afa6b2c7dcd64f13b95502d429b4637c Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Fri, 17 May 2024 20:09:46 -0500 Subject: [PATCH] swing animation lookup --- 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 91366206..86a1adb0 100644 --- a/src/engine/gameManager/CombatManager.java +++ b/src/engine/gameManager/CombatManager.java @@ -263,7 +263,7 @@ public enum CombatManager { int passiveAnim = getSwingAnimation(null, null, slot.equals(mbEnums.EquipSlotType.RHELD)); if (attacker.charItemManager.getEquipped().get(slot) != null) { - passiveAnim = getSwingAnimation(attacker.charItemManager.getEquipped().get(slot).template, null, true); + passiveAnim = getSwingAnimation(weapon.template, null, true); } if (ThreadLocalRandom.current().nextInt(100) > hitChance) {