aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/com/ambientaddons/features/dungeon/IgnoreCarpet.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/com/ambientaddons/features/dungeon/IgnoreCarpet.kt')
-rw-r--r--src/main/kotlin/com/ambientaddons/features/dungeon/IgnoreCarpet.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/kotlin/com/ambientaddons/features/dungeon/IgnoreCarpet.kt b/src/main/kotlin/com/ambientaddons/features/dungeon/IgnoreCarpet.kt
index 6f2281e..438ad67 100644
--- a/src/main/kotlin/com/ambientaddons/features/dungeon/IgnoreCarpet.kt
+++ b/src/main/kotlin/com/ambientaddons/features/dungeon/IgnoreCarpet.kt
@@ -1,11 +1,11 @@
package com.ambientaddons.features.dungeon
import AmbientAddons.Companion.config
-import com.ambientaddons.utils.SkyBlock
+import com.ambientaddons.utils.SBLocation
object IgnoreCarpet {
fun shouldIgnoreCarpet(): Boolean {
- if (!SkyBlock.inSkyblock) return false
+ if (!SBLocation.inSkyblock) return false
return if (AmbientAddons.isInitialized()) config.ignoreCarpet else false
}
} \ No newline at end of file