From 7c67e15d40e488645b23fb873e0b660739141d52 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sat, 15 Mar 2025 16:31:11 -0500 Subject: [PATCH] only delete runes in safezone --- src/engine/net/client/ClientMessagePump.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/engine/net/client/ClientMessagePump.java b/src/engine/net/client/ClientMessagePump.java index fe9c1702..fb2f37f0 100644 --- a/src/engine/net/client/ClientMessagePump.java +++ b/src/engine/net/client/ClientMessagePump.java @@ -571,6 +571,11 @@ public class ClientMessagePump implements NetMsgHandler { return; if (i.isCanDestroy()) { + + if (i.getItemBase().isRune() && !sourcePlayer.isInSafeZone()) { + ChatManager.chatSystemInfo(sourcePlayer, "You May Only Delete Runes In A Safe Zone."); + return; + } int goldValue = i.getBaseValue(); if (i.getItemBase().isRune()) goldValue = 500000;