More itembase refactor

This commit is contained in:
2024-03-28 05:21:45 -04:00
parent 2aa9f9c134
commit 08f0fc1743
+1 -1
View File
@@ -176,7 +176,7 @@ public class Account extends AbstractGameObject {
this.vault = DbManager.ItemQueries.GET_ITEMS_FOR_ACCOUNT(this.getObjectUUID());
for (Item item : this.vault) {
if (item.getItemBase().getUUID() == 7) {
if (item.template.item_type.equals(Enum.ItemType.GOLD)) {
this.vaultGold = item;
}
}