diff options
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/data/HyPixelData.kt | 8 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/data/IslandType.kt | 1 |
2 files changed, 7 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/HyPixelData.kt b/src/main/java/at/hannibal2/skyhanni/data/HyPixelData.kt index 2893e67a4..940b955b8 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/HyPixelData.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/HyPixelData.kt @@ -112,8 +112,6 @@ class HyPixelData { bingo = true } - // TODO implemennt stranded check - " §7♲ §7Ironman" -> { ironman = true } @@ -147,6 +145,12 @@ class HyPixelData { } } + if (islandType == IslandType.GARDEN) { + if (guesting) { + islandType = IslandType.GARDEN_GUEST + } + } + if (skyBlockIsland != islandType) { IslandChangeEvent(islandType, skyBlockIsland).postAndCatch() if (islandType == IslandType.UNKNOWN) { diff --git a/src/main/java/at/hannibal2/skyhanni/data/IslandType.kt b/src/main/java/at/hannibal2/skyhanni/data/IslandType.kt index 74081a5c4..aa6a02b13 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/IslandType.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/IslandType.kt @@ -16,6 +16,7 @@ enum class IslandType(val displayName: String, val apiName: String = "null") { DEEP_CAVERNS("Deep Caverns", "deep_caverns"), GOLD_MINES("Gold Mine", "gold_mine"),//TODO confirm GARDEN("Garden"), + GARDEN_GUEST("Garden Guest"), NONE(""), UNKNOWN("???"), |