aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/data/HyPixelData.kt4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/HyPixelData.kt b/src/main/java/at/hannibal2/skyhanni/data/HyPixelData.kt
index b98664a2a..3d5232dff 100644
--- a/src/main/java/at/hannibal2/skyhanni/data/HyPixelData.kt
+++ b/src/main/java/at/hannibal2/skyhanni/data/HyPixelData.kt
@@ -165,6 +165,8 @@ class HyPixelData {
val objective = world.scoreboard.getObjectiveInDisplaySlot(1) ?: return false
val displayName = objective.displayName
- return displayName.removeColor().contains("SKYBLOCK")
+ val scoreboardTitle = displayName.removeColor()
+ return scoreboardTitle.contains("SKYBLOCK") ||
+ scoreboardTitle.contains("SKIBLOCK") // April 1st jokes are so funny
}
} \ No newline at end of file