Itembase refactored out of gold

This commit is contained in:
2024-03-28 05:34:50 -04:00
parent 08f0fc1743
commit 1cf9831e20
3 changed files with 11 additions and 26 deletions
+1 -1
View File
@@ -182,7 +182,7 @@ public class Account extends AbstractGameObject {
}
if (this.vaultGold == null) {
this.vaultGold = Item.newGoldItem(this.getObjectUUID(), ItemBase.getItemBase(7), ItemContainerType.VAULT);
this.vaultGold = Item.newGoldItem(this.getObjectUUID(), ItemContainerType.VAULT);
if (this.vaultGold != null)
this.vault.add(this.vaultGold);