|
|
@ -176,7 +176,7 @@ public class Account extends AbstractGameObject { |
|
|
|
this.vault = DbManager.ItemQueries.GET_ITEMS_FOR_ACCOUNT(this.getObjectUUID()); |
|
|
|
this.vault = DbManager.ItemQueries.GET_ITEMS_FOR_ACCOUNT(this.getObjectUUID()); |
|
|
|
|
|
|
|
|
|
|
|
for (Item item : this.vault) { |
|
|
|
for (Item item : this.vault) { |
|
|
|
if (item.getItemBase().getUUID() == 7) { |
|
|
|
if (item.template.item_type.equals(Enum.ItemType.GOLD)) { |
|
|
|
this.vaultGold = item; |
|
|
|
this.vaultGold = item; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|