Browse Source

Removed count when validating stack withdraw weight.

postwipe-guilds
MagicBot 5 months ago
parent
commit
5bd85addb7
  1. 2
      src/engine/objects/Warehouse.java

2
src/engine/objects/Warehouse.java

@ -429,7 +429,7 @@ public class Warehouse { @@ -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;
}

Loading…
Cancel
Save