Refactor item_type

This commit is contained in:
2024-03-10 13:34:24 -04:00
parent 87290baa52
commit df5c607375
24 changed files with 137 additions and 203 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ public class UseCharterMsg extends ClientNetMsg {
if (close) {
for (Item i : player.getInventory()) {
if (i.getItemBase().getType().equals(ItemType.GUILDCHARTER)) {
if (i.template.item_type.equals(ItemType.CHARTER)) {
charterUUID = i.getObjectUUID();
break;
}