Rename and clean up MapleInventoryType

This commit is contained in:
P0nk
2021-09-09 20:49:05 +02:00
parent ba647db6cf
commit 5ed7cf73d1
97 changed files with 556 additions and 556 deletions

View File

@@ -155,7 +155,7 @@ function action(mode, type, selection) {
}
else {
var count = 0;
var iter = cm.getChar().getInventory(MapleInventoryType.ETC).listById(mats[i]).iterator();
var iter = cm.getChar().getInventory(InventoryType.ETC).listById(mats[i]).iterator();
while (iter.hasNext()) {
count += iter.next().getQuantity();
}
@@ -166,7 +166,7 @@ function action(mode, type, selection) {
}
else {
var count = 0;
var iter = cm.getChar().getInventory(MapleInventoryType.ETC).listById(mats).iterator();
var iter = cm.getChar().getInventory(InventoryType.ETC).listById(mats).iterator();
while (iter.hasNext()) {
count += iter.next().getQuantity();
}