aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-12-17 20:05:06 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-12-17 20:05:06 +0100
commitccf62da24f6e02e93b0971c7690cb1fc6a2e61fb (patch)
tree84b677b7fdce8483c73bab4d3cee61e10632a468 /src/main/java/at/hannibal2
parent0c99cc15ca0f977cd14cd067ef4d069f067edda1 (diff)
downloadskyhanni-ccf62da24f6e02e93b0971c7690cb1fc6a2e61fb.tar.gz
skyhanni-ccf62da24f6e02e93b0971c7690cb1fc6a2e61fb.tar.bz2
skyhanni-ccf62da24f6e02e93b0971c7690cb1fc6a2e61fb.zip
Fixed wrong Rancher Boots item stack size color in combination with Black Cat or Racing Helmet.
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/inventory/ItemDisplayOverlayFeatures.kt2
1 files changed, 1 insertions, 1 deletions
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"