|
|
|
@ -2097,7 +2097,7 @@ public class CharacterItemManager {
@@ -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 {
@@ -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); |
|
|
|
|