From ef49d0cbe0c50f4c588c80053dbdf226d42fbe67 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sun, 21 Apr 2024 19:14:35 -0500 Subject: [PATCH] apply human and elf runes in game --- src/engine/net/client/handlers/ObjectActionMsgHandler.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/engine/net/client/handlers/ObjectActionMsgHandler.java b/src/engine/net/client/handlers/ObjectActionMsgHandler.java index 4e4b34da..dac7bebe 100644 --- a/src/engine/net/client/handlers/ObjectActionMsgHandler.java +++ b/src/engine/net/client/handlers/ObjectActionMsgHandler.java @@ -542,7 +542,11 @@ public class ObjectActionMsgHandler extends AbstractClientMsgHandler { PowersManager.applyPower(player, target, Vector3fImmutable.ZERO, ib.getUseID(), ib.getUseAmount(), true); itemMan.consume(item); - } else //just remove the item at this point + } else if(ib.getUUID() > 252128 && ib.getUUID() < 252568){ + if (ApplyRuneMsg.applyRune(uuid, origin, player)) { + itemMan.consume(item); + } + }else //just remove the item at this point itemMan.consume(item); dispatch = Dispatch.borrow(player, msg);