Weight not value

This commit is contained in:
2024-03-24 23:19:55 -04:00
parent eb78716401
commit 9d140be510
+1 -7
View File
@@ -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<Item> list = new ArrayList<>();
list.add(item);