aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/utils
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-07-05 23:45:26 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-07-05 23:45:26 +0200
commitfd30e258e1071e15bda4e9cf3a20a389cd01f61e (patch)
tree3ef08982beac4706f771dbfa1af982a573ad5094 /src/main/java/at/hannibal2/skyhanni/utils
parent99d7b37cfdeb3556b2e77905ec0488ba5644bd2d (diff)
downloadskyhanni-fd30e258e1071e15bda4e9cf3a20a389cd01f61e.tar.gz
skyhanni-fd30e258e1071e15bda4e9cf3a20a389cd01f61e.tar.bz2
skyhanni-fd30e258e1071e15bda4e9cf3a20a389cd01f61e.zip
Fixing infer
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt
index 9f6c9cc93..2c355b402 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt
@@ -369,7 +369,7 @@ object LorenzUtils {
fun inIsland(island: IslandType) = inSkyBlock && skyBlockIsland == island
- fun IslandType.inIsland() = inIsland(this)
+ fun IslandType.isInIsland() = inIsland(this)
fun <K, N : Number> MutableMap<K, N>.addOrPut(item: K, amount: N) {
val old = this[item] ?: 0