From 50d75eecc6f280e1b178c3642f39115d5e220cb1 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sun, 10 Mar 2024 15:21:35 -0400 Subject: [PATCH] Pass weaponslot not slot. --- 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 62147bc9..f6760780 100644 --- a/src/engine/gameManager/CombatManager.java +++ b/src/engine/gameManager/CombatManager.java @@ -312,7 +312,7 @@ public enum CombatManager { //get Weapon boolean isWeapon = true; - Item weapon = equipped.get(slot); + Item weapon = equipped.get(weaponSlot); ItemBase wb = null; if (weapon == null)