diff --git a/src/engine/objects/Warehouse.java b/src/engine/objects/Warehouse.java index 8527b1a2..dc53aaab 100644 --- a/src/engine/objects/Warehouse.java +++ b/src/engine/objects/Warehouse.java @@ -429,7 +429,7 @@ public class Warehouse { return false; if (addToInventory) - if (!itemMan.hasRoomInventory(template.item_wt * amount)) { + if (!itemMan.hasRoomInventory(template.item_wt)) { ChatManager.chatSystemInfo(playerCharacter, "You can not carry any more of that item."); return false; }