Browse Source

Weight bugfix

combat-2
MagicBot 8 months ago
parent
commit
f676b14351
  1. 2
      src/engine/objects/Warehouse.java

2
src/engine/objects/Warehouse.java

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

Loading…
Cancel
Save