diff options
author | hannibal2 <24389977+hannibal002@users.noreply.github.com> | 2024-05-11 09:27:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-11 09:27:49 +0200 |
commit | 013711f3e35c6a7e32a128364aeeb666643303cd (patch) | |
tree | 3c38fd6fd1d6cccf03555ca737ceb8278cabbecf /src/main/java | |
parent | a7219971c5101502ab2762506c1ac8561657aaeb (diff) | |
download | skyhanni-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')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/mining/MiningCommissionsBlocksColor.kt | 7 |
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" } |