aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-06-15 22:14:06 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-06-15 22:14:06 +0200
commit393580149e379d01d61bac60fd13187ed911cdfb (patch)
treec86ff4aab26d86e51d02e443bfd8a0e9605b7c0e /src
parent003bb49d05054ce2289949ed8774d00bdff583ae (diff)
downloadskyhanni-393580149e379d01d61bac60fd13187ed911cdfb.tar.gz
skyhanni-393580149e379d01d61bac60fd13187ed911cdfb.tar.bz2
skyhanni-393580149e379d01d61bac60fd13187ed911cdfb.zip
formatting
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/data/MiningAPI.kt6
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,