From 013711f3e35c6a7e32a128364aeeb666643303cd Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal002@users.noreply.github.com> Date: Sat, 11 May 2024 09:27:49 +0200 Subject: Improvement: Disable colored blocks in the mineshaft (#1749) 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/main/java/at') 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" } -- cgit