From 5bd85addb717d8a9541cfbed7f03d8de3157e9b7 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Thu, 13 Jun 2024 15:42:54 -0400 Subject: [PATCH] Removed count when validating stack withdraw weight. --- 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 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; }