Browse Source

Pass weaponslot not slot.

combat-2
MagicBot 8 months ago
parent
commit
50d75eecc6
  1. 2
      src/engine/gameManager/CombatManager.java

2
src/engine/gameManager/CombatManager.java

@ -312,7 +312,7 @@ public enum CombatManager {
//get Weapon //get Weapon
boolean isWeapon = true; boolean isWeapon = true;
Item weapon = equipped.get(slot); Item weapon = equipped.get(weaponSlot);
ItemBase wb = null; ItemBase wb = null;
if (weapon == null) if (weapon == null)

Loading…
Cancel
Save