From 962ad4277a95f6a492ac0abf37cabd700416f0d5 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sat, 12 Aug 2023 07:46:24 -0400 Subject: [PATCH] Unnecessary cast removed. --- src/engine/gameManager/LootManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/gameManager/LootManager.java b/src/engine/gameManager/LootManager.java index 145775ca..172e7ba6 100644 --- a/src/engine/gameManager/LootManager.java +++ b/src/engine/gameManager/LootManager.java @@ -455,7 +455,7 @@ public enum LootManager { //add winnings to player inventory - Item playerWinnings = winnings.promoteToItem((PlayerCharacter) playerCharacter); + Item playerWinnings = winnings.promoteToItem(playerCharacter); itemMan.addItemToInventory(playerWinnings); itemMan.updateInventory(); }