Weight bugfix

This commit is contained in:
2024-03-15 10:18:07 -04:00
parent 97fa583f65
commit f676b14351
+1 -1
View File
@@ -617,7 +617,7 @@ public class Warehouse extends AbstractWorldObject {
return false; return false;
if (addToInventory) 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."); ChatManager.chatSystemInfo(pc, "You can not carry any more of that item.");
return false; return false;
} }