Browse Source

Unnecessary cast removed.

master
MagicBot 1 year ago
parent
commit
962ad4277a
  1. 2
      src/engine/gameManager/LootManager.java

2
src/engine/gameManager/LootManager.java

@ -455,7 +455,7 @@ public enum LootManager {
//add winnings to player inventory //add winnings to player inventory
Item playerWinnings = winnings.promoteToItem((PlayerCharacter) playerCharacter); Item playerWinnings = winnings.promoteToItem(playerCharacter);
itemMan.addItemToInventory(playerWinnings); itemMan.addItemToInventory(playerWinnings);
itemMan.updateInventory(); itemMan.updateInventory();
} }

Loading…
Cancel
Save