aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal002@users.noreply.github.com>2024-05-13 21:40:33 +0200
committerGitHub <noreply@github.com>2024-05-13 21:40:33 +0200
commit382f284de901301f156d3990be44177d1a036b71 (patch)
treecc1562e43dff56a103f288a6236aa1dd05226975 /src
parentba7ce87f38a73a30704aa9b5fcf17467713a7540 (diff)
downloadskyhanni-382f284de901301f156d3990be44177d1a036b71.tar.gz
skyhanni-382f284de901301f156d3990be44177d1a036b71.tar.bz2
skyhanni-382f284de901301f156d3990be44177d1a036b71.zip
Disabled mining commissions block color in Dwarven Mines (#1790)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/mining/MiningCommissionsBlocksColor.kt7
1 files changed, 3 insertions, 4 deletions
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