From 382f284de901301f156d3990be44177d1a036b71 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal002@users.noreply.github.com> Date: Mon, 13 May 2024 21:40:33 +0200 Subject: Disabled mining commissions block color in Dwarven Mines (#1790) Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com> --- .../skyhanni/features/mining/MiningCommissionsBlocksColor.kt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/main/java/at/hannibal2/skyhanni/features/mining/MiningCommissionsBlocksColor.kt b/src/main/java/at/hannibal2/skyhanni/features/mining/MiningCommissionsBlocksColor.kt index db2ad5a01..10e5a365c 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/mining/MiningCommissionsBlocksColor.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/mining/MiningCommissionsBlocksColor.kt @@ -10,7 +10,6 @@ import at.hannibal2.skyhanni.events.LorenzChatEvent import at.hannibal2.skyhanni.events.LorenzTickEvent import at.hannibal2.skyhanni.events.LorenzWorldChangeEvent import at.hannibal2.skyhanni.events.TabListUpdateEvent -import at.hannibal2.skyhanni.utils.ChatUtils import at.hannibal2.skyhanni.utils.CollectionUtils.equalsOneOf import at.hannibal2.skyhanni.utils.ConditionalUtils.onToggle import at.hannibal2.skyhanni.utils.LorenzUtils @@ -106,7 +105,6 @@ object MiningCommissionsBlocksColor { if (block.highlight != newValue) { if (newValue && block in ignoredTabListCommissions) continue block.highlight = newValue - ChatUtils.debug("changed from tab list: ${block.displayName} -> $newValue") dirty = true } } @@ -124,7 +122,6 @@ object MiningCommissionsBlocksColor { block.highlight = false dirty = true ignoredTabListCommissions.add(block) - ChatUtils.debug("finished from chat: $name") } } @@ -137,7 +134,9 @@ object MiningCommissionsBlocksColor { inCrystalHollows = IslandType.CRYSTAL_HOLLOWS.isInIsland() && HypixelData.skyBlockArea != "Crystal Nucleus" } - val newEnabled = (inDwarvenMines || inCrystalHollows || inGlaciteArea) && config.enabled + // TODO add dwarven mines support +// val newEnabled = (inDwarvenMines || inCrystalHollows || inGlaciteArea) && config.enabled + val newEnabled = (inCrystalHollows || inGlaciteArea) && config.enabled var reload = false if (newEnabled != enabled) { enabled = newEnabled -- cgit