From 08f0fc174397349c4c296f7ffd1c486f3bb2e309 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Thu, 28 Mar 2024 05:21:45 -0400 Subject: [PATCH] More itembase refactor --- src/engine/objects/Account.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/objects/Account.java b/src/engine/objects/Account.java index 7e676fae..07cd442d 100644 --- a/src/engine/objects/Account.java +++ b/src/engine/objects/Account.java @@ -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; } }