diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-03-31 22:01:50 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-03-31 22:01:50 +0200 |
commit | b56012d732e545efe0d17c2014a848b39f196bcc (patch) | |
tree | 9ff4030bbf6019348532bd525faeafbf39d914ef /src/main/java/at | |
parent | 53c1440fa4a42613b140f4f099b60c3664ba0fdd (diff) | |
download | skyhanni-b56012d732e545efe0d17c2014a848b39f196bcc.tar.gz skyhanni-b56012d732e545efe0d17c2014a848b39f196bcc.tar.bz2 skyhanni-b56012d732e545efe0d17c2014a848b39f196bcc.zip |
Fixed SKIBLOCK april joke
Diffstat (limited to 'src/main/java/at')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/data/HyPixelData.kt | 4 |
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 |