item_wt refactored to template
This commit is contained in:
1 parent
58652ee32f
commit
4dc0f52295
12 files changed
+101
-120
No files matched your search
@@ -426,7 +426,7 @@ public enum LootManager {
|
||||
|
||||
//early exit if the inventory of the player will not old the item
|
||||
|
||||
if (itemMan.hasRoomInventory(winnings.getItemBase().getWeight()) == false) {
|
||||
if (itemMan.hasRoomInventory(winnings.template.item_wt) == false) {
|
||||
ErrorPopupMsg.sendErrorPopup(playerCharacter, 21);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user