forked from MagicBane/Server
Unnecessary cast removed.
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user