Weight bugfix
This commit is contained in:
1 parent
97fa583f65
commit
f676b14351
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user