aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorJ10a1n15 <45315647+j10a1n15@users.noreply.github.com>2024-04-08 21:48:27 +0200
committerGitHub <noreply@github.com>2024-04-08 21:48:27 +0200
commit0af01946862fdd1ec4306838c786bb1bb325e51a (patch)
tree62c0859801854948a23f7028c035314503a522e6 /src/main/java
parent4d2c73dc271c1255c86ca9d811468e8b36d48640 (diff)
downloadskyhanni-0af01946862fdd1ec4306838c786bb1bb325e51a.tar.gz
skyhanni-0af01946862fdd1ec4306838c786bb1bb325e51a.tar.bz2
skyhanni-0af01946862fdd1ec4306838c786bb1bb325e51a.zip
Fix: Fixed Crystal Hollows Island size (#1389)
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/data/HypixelData.kt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/HypixelData.kt b/src/main/java/at/hannibal2/skyhanni/data/HypixelData.kt
index fe5ca67b1..8df208c95 100644
--- a/src/main/java/at/hannibal2/skyhanni/data/HypixelData.kt
+++ b/src/main/java/at/hannibal2/skyhanni/data/HypixelData.kt
@@ -15,6 +15,7 @@ import at.hannibal2.skyhanni.test.command.ErrorManager
import at.hannibal2.skyhanni.utils.ChatUtils
import at.hannibal2.skyhanni.utils.LorenzLogger
import at.hannibal2.skyhanni.utils.LorenzUtils
+import at.hannibal2.skyhanni.utils.LorenzUtils.isInIsland
import at.hannibal2.skyhanni.utils.SimpleTimeMark
import at.hannibal2.skyhanni.utils.StringUtils.matchFirst
import at.hannibal2.skyhanni.utils.StringUtils.matchMatcher
@@ -182,6 +183,7 @@ class HypixelData {
ScoreboardData.sidebarLinesFormatted.matchFirst(scoreboardVisitingAmoutPattern) {
return group("maxamount").toInt()
}
+ if (IslandType.CRYSTAL_HOLLOWS.isInIsland()) return 24
return if (serverId?.startsWith("mega") == true) 80 else 26
}