From 5cd94234e9a4cd98bdc77c1f4df0fd88a6ab2a4d Mon Sep 17 00:00:00 2001
From: FatBoy-DOTC <justin.chucksinsulating@gmail.com>
Date: Sat, 4 May 2024 09:53:01 -0500
Subject: [PATCH] blood rune check work

---
 src/engine/net/client/msg/ApplyRuneMsg.java | 33 ++++++++++++++-------
 1 file changed, 23 insertions(+), 10 deletions(-)

diff --git a/src/engine/net/client/msg/ApplyRuneMsg.java b/src/engine/net/client/msg/ApplyRuneMsg.java
index 3286f642..c64246d8 100644
--- a/src/engine/net/client/msg/ApplyRuneMsg.java
+++ b/src/engine/net/client/msg/ApplyRuneMsg.java
@@ -275,17 +275,30 @@ public class ApplyRuneMsg extends ClientNetMsg {
         if (runes.size() > 12) {
             return false;
         }
+
+        boolean isBloodRune = false;
+        switch (rb.getName()) {
+            case "Born of the Ethyri":
+            case "Born of the Taripontor":
+            case "Born of the Gwendannen":
+            case "Born of the Invorri":
+            case "Born of the Irydnu":
+                isBloodRune = true;
+                break;
+        }
         boolean hasBloodRune = false;
-        for(CharacterRune charRune : playerCharacter.getRunes()) {
-            RuneBase rb2 = charRune.getRuneBase();
-            switch (rb2.getName()) {
-                case "Born of the Ethyri":
-                case "Born of the Taripontor":
-                case "Born of the Gwendannen":
-                case "Born of the Invorri":
-                case "Born of the Irydnu":
-                    hasBloodRune = true;
-                    break;
+        if(isBloodRune) {
+            for (CharacterRune charRune : playerCharacter.getRunes()) {
+                RuneBase rb2 = charRune.getRuneBase();
+                switch (rb2.getName()) {
+                    case "Born of the Ethyri":
+                    case "Born of the Taripontor":
+                    case "Born of the Gwendannen":
+                    case "Born of the Invorri":
+                    case "Born of the Irydnu":
+                        hasBloodRune = true;
+                        break;
+                }
             }
         }
         if(hasBloodRune){