Unnecessary cast removed.
This commit is contained in:
1 parent
a7495bf942
commit
962ad4277a
1 file changed
+1
-1
@@ -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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user