From f676b1435194c0c5613a32c0455d2373fa5f83a7 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Fri, 15 Mar 2024 10:18:07 -0400 Subject: [PATCH] Weight bugfix --- src/engine/objects/Warehouse.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/objects/Warehouse.java b/src/engine/objects/Warehouse.java index 7a524c87..959729a7 100644 --- a/src/engine/objects/Warehouse.java +++ b/src/engine/objects/Warehouse.java @@ -617,7 +617,7 @@ public class Warehouse extends AbstractWorldObject { return false; if (addToInventory) - if (!itemMan.hasRoomInventory(template.item_wt)) { + if (!itemMan.hasRoomInventory(template.item_wt * amount)) { ChatManager.chatSystemInfo(pc, "You can not carry any more of that item."); return false; }