From 1e9f1685da925dc09fb2987eacf5a6c7b3cfdc80 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Mon, 19 Feb 2024 17:19:34 -0600 Subject: [PATCH] cannot delete gold --- src/engine/objects/Item.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/engine/objects/Item.java b/src/engine/objects/Item.java index 9bb21a13..245756c8 100644 --- a/src/engine/objects/Item.java +++ b/src/engine/objects/Item.java @@ -889,6 +889,8 @@ public class Item extends AbstractWorldObject { } public boolean isCanDestroy() { + if(this.getItemBaseID() == 7)//gold + return false; return canDestroy; }