aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/dungeon
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-01-07 02:32:01 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-01-07 02:32:01 +0100
commit614eb4d782c5940e13df0e50c00cdfeacd55bad0 (patch)
tree26dd5f8b646add4ba40af0816d4373229822e889 /src/main/java/at/hannibal2/skyhanni/features/dungeon
parent62f0750771748571d4f2f8f02f8b77a186c2d4c0 (diff)
downloadskyhanni-614eb4d782c5940e13df0e50c00cdfeacd55bad0.tar.gz
skyhanni-614eb4d782c5940e13df0e50c00cdfeacd55bad0.tar.bz2
skyhanni-614eb4d782c5940e13df0e50c00cdfeacd55bad0.zip
Renamed hypixel and skyblock.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/dungeon')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/dungeon/CroesusUnopenedChestTracker.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonChatFilter.kt4
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonLevelColor.kt2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/dungeon/CroesusUnopenedChestTracker.kt b/src/main/java/at/hannibal2/skyhanni/features/dungeon/CroesusUnopenedChestTracker.kt
index 8cda8aade..024c05c86 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/dungeon/CroesusUnopenedChestTracker.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/dungeon/CroesusUnopenedChestTracker.kt
@@ -16,7 +16,7 @@ class CroesusUnopenedChestTracker {
@SubscribeEvent(priority = EventPriority.LOW)
fun onBackgroundDrawn(event: GuiContainerEvent.BackgroundDrawnEvent) {
- if (!LorenzUtils.inSkyblock) return
+ if (!LorenzUtils.inSkyBlock) return
if (!SkyHanniMod.feature.dungeon.croesusUnopenedChestTracker) return
if (event.gui !is GuiChest) return
diff --git a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonChatFilter.kt b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonChatFilter.kt
index 1724c074e..9f4e12897 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonChatFilter.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonChatFilter.kt
@@ -10,10 +10,10 @@ class DungeonChatFilter {
@SubscribeEvent
fun onChatMessage(event: LorenzChatEvent) {
- if (!LorenzUtils.isOnHypixel) return
+ if (!LorenzUtils.isHyPixel) return
// Workaround since the potion message gets always sent in that moment when skyblock is set as false
- if (!LorenzUtils.inSkyblock && !event.message.startsWith("§aYour active Potion Effects")) return
+ if (!LorenzUtils.inSkyBlock && !event.message.startsWith("§aYour active Potion Effects")) return
if (!SkyHanniMod.feature.chat.dungeonMessages) return
val blockReason = block(event.message)
diff --git a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonLevelColor.kt b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonLevelColor.kt
index 740296f47..9b9027d83 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonLevelColor.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonLevelColor.kt
@@ -16,7 +16,7 @@ class DungeonLevelColor {
@SubscribeEvent
fun onItemTooltip(event: ItemTooltipEvent) {
- if (!LorenzUtils.inSkyblock) return
+ if (!LorenzUtils.inSkyBlock) return
if (!SkyHanniMod.feature.dungeon.partyFinderColoredClassLevel) return
if (event.toolTip == null) return