diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-06-15 22:14:06 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-06-15 22:14:06 +0200 |
commit | 393580149e379d01d61bac60fd13187ed911cdfb (patch) | |
tree | c86ff4aab26d86e51d02e443bfd8a0e9605b7c0e | |
parent | 003bb49d05054ce2289949ed8774d00bdff583ae (diff) | |
download | skyhanni-393580149e379d01d61bac60fd13187ed911cdfb.tar.gz skyhanni-393580149e379d01d61bac60fd13187ed911cdfb.tar.bz2 skyhanni-393580149e379d01d61bac60fd13187ed911cdfb.zip |
formatting
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/data/MiningAPI.kt | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/MiningAPI.kt b/src/main/java/at/hannibal2/skyhanni/data/MiningAPI.kt index f47f10962..9aa58f45b 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/MiningAPI.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/MiningAPI.kt @@ -80,8 +80,7 @@ object MiningAPI { fun inGlaciteArea() = inGlacialTunnels() || IslandType.MINESHAFT.isInIsland() - fun inDwarvenBaseCamp() = - IslandType.DWARVEN_MINES.isInIsland() && dwarvenBaseCampPattern.matches(LorenzUtils.skyBlockArea) + fun inDwarvenBaseCamp() = IslandType.DWARVEN_MINES.isInIsland() && dwarvenBaseCampPattern.matches(LorenzUtils.skyBlockArea) fun inRegularDwarven() = IslandType.DWARVEN_MINES.isInIsland() && !inGlacialTunnels() @@ -89,8 +88,7 @@ object MiningAPI { fun inMineshaft() = IslandType.MINESHAFT.isInIsland() - fun inGlacialTunnels() = - IslandType.DWARVEN_MINES.isInIsland() && glaciteAreaPattern.matches(LorenzUtils.skyBlockArea) + fun inGlacialTunnels() = IslandType.DWARVEN_MINES.isInIsland() && glaciteAreaPattern.matches(LorenzUtils.skyBlockArea) fun inCustomMiningIsland() = inAnyIsland( IslandType.DWARVEN_MINES, |