From ccf62da24f6e02e93b0971c7690cb1fc6a2e61fb Mon Sep 17 00:00:00 2001
From: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Date: Sun, 17 Dec 2023 20:05:06 +0100
Subject: Fixed wrong Rancher Boots item stack size color in combination with
 Black Cat or Racing Helmet.

---
 .../hannibal2/skyhanni/features/inventory/ItemDisplayOverlayFeatures.kt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src')

diff --git a/src/main/java/at/hannibal2/skyhanni/features/inventory/ItemDisplayOverlayFeatures.kt b/src/main/java/at/hannibal2/skyhanni/features/inventory/ItemDisplayOverlayFeatures.kt
index a4e28961e..df57ca7dc 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/inventory/ItemDisplayOverlayFeatures.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/inventory/ItemDisplayOverlayFeatures.kt
@@ -166,7 +166,7 @@ object ItemDisplayOverlayFeatures {
 
         if (RANCHERS_BOOTS_SPEED.isSelected() && itemName.contains("Rancher's Boots")) {
             item.getRanchersSpeed()?.let {
-                return if (it > 400 && (PetAPI.isCurrentPet("Black Cat") ||
+                return if (it > 400 && !(PetAPI.isCurrentPet("Black Cat") ||
                         InventoryUtils.getHelmet()?.getInternalName() == "RACING_HELMET".asInternalName())
                 ) {
                     "§c$it"
-- 
cgit