item_wt refactored to template

This commit is contained in:
MagicBot committed 2024-03-03 15:06:44 -05:00
1 parent 58652ee32f
commit 4dc0f52295
12 files changed
+101 -120

No files matched your search

+1 -1
View File
@@ -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;
}