forked from MagicBane/Server
item_wt refactored to template
This commit is contained in:
@@ -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