aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal002@users.noreply.github.com>2024-05-11 09:27:49 +0200
committerGitHub <noreply@github.com>2024-05-11 09:27:49 +0200
commit013711f3e35c6a7e32a128364aeeb666643303cd (patch)
tree3c38fd6fd1d6cccf03555ca737ceb8278cabbecf /src/main/java/at
parenta7219971c5101502ab2762506c1ac8561657aaeb (diff)
downloadskyhanni-013711f3e35c6a7e32a128364aeeb666643303cd.tar.gz
skyhanni-013711f3e35c6a7e32a128364aeeb666643303cd.tar.bz2
skyhanni-013711f3e35c6a7e32a128364aeeb666643303cd.zip
Improvement: Disable colored blocks in the mineshaft (#1749)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at')
-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 0c2cdba51..db2ad5a01 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/mining/MiningCommissionsBlocksColor.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/mining/MiningCommissionsBlocksColor.kt
@@ -131,10 +131,9 @@ object MiningCommissionsBlocksColor {
@SubscribeEvent
fun onTick(event: LorenzTickEvent) {
if (LorenzUtils.lastWorldSwitch.passedSince() > 4.seconds) {
- inGlaciteArea = MiningAPI.inGlaciteArea()
- inDwarvenMines = IslandType.DWARVEN_MINES.isInIsland() && !(inGlaciteArea ||
- HypixelData.skyBlockArea.equalsOneOf("Dwarven Base Camp", "Fossil Research Center")
- )
+ inGlaciteArea = MiningAPI.inGlaciteArea() && !IslandType.MINESHAFT.isInIsland()
+ inDwarvenMines = IslandType.DWARVEN_MINES.isInIsland() &&
+ !(inGlaciteArea || HypixelData.skyBlockArea.equalsOneOf("Dwarven Base Camp", "Fossil Research Center"))
inCrystalHollows = IslandType.CRYSTAL_HOLLOWS.isInIsland() && HypixelData.skyBlockArea != "Crystal Nucleus"
}