From 9995cc01b7adbad78b45651280d765076a7ce523 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Tue, 25 Jun 2024 19:24:15 -0500 Subject: [PATCH] rune application require/restrict actually use values --- src/engine/net/client/msg/ApplyRuneMsg.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/engine/net/client/msg/ApplyRuneMsg.java b/src/engine/net/client/msg/ApplyRuneMsg.java index 6c6b893f..9e4acff7 100644 --- a/src/engine/net/client/msg/ApplyRuneMsg.java +++ b/src/engine/net/client/msg/ApplyRuneMsg.java @@ -85,7 +85,7 @@ public class ApplyRuneMsg extends ClientNetMsg { boolean valid = false; for (int validID : races.keySet()) { if (validID == raceID) { - valid = true; + valid = rb.getRace().get(raceID); break; } } @@ -101,7 +101,7 @@ public class ApplyRuneMsg extends ClientNetMsg { boolean valid = false; for (int validID : baseClasses.keySet()) { if (validID == baseClassID) { - valid = true; + valid = baseClasses.get(baseClassID); break; } } @@ -117,7 +117,7 @@ public class ApplyRuneMsg extends ClientNetMsg { boolean valid = false; for (int validID : promotionClasses.keySet()) { if (validID == promotionClassID) { - valid = true; + valid = rb.getPromotionClass().get(promotionClassID); break; } }