diff --git a/src/engine/objects/CharacterItemManager.java b/src/engine/objects/CharacterItemManager.java index 58a12766..ac6c5a4b 100644 --- a/src/engine/objects/CharacterItemManager.java +++ b/src/engine/objects/CharacterItemManager.java @@ -2097,7 +2097,7 @@ public class CharacterItemManager { this.bankWeight = 0; for (Item item : this.bank) { if (item.template != null) - this.bankWeight += item.template.item_value; + this.bankWeight += item.template.item_wt; } } @@ -2128,12 +2128,6 @@ public class CharacterItemManager { } } - private int calculateTradingForWeight() { - int tradingForWeight = 0; - - return tradingForWeight; - } - public void updateInventory(Item item, boolean add) { ArrayList list = new ArrayList<>(); list.add(item);