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.kt9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main/kotlin/com/ambientaddons/features/dungeon/IgnoreCarpet.kt b/src/main/kotlin/com/ambientaddons/features/dungeon/IgnoreCarpet.kt
new file mode 100644
index 0000000..6283b9c
--- /dev/null
+++ b/src/main/kotlin/com/ambientaddons/features/dungeon/IgnoreCarpet.kt
@@ -0,0 +1,9 @@
+package com.ambientaddons.features.dungeon
+
+import AmbientAddons.Companion.config
+
+object IgnoreCarpet {
+ fun shouldIgnoreCarpet(): Boolean = if (AmbientAddons.isInitialized()) {
+ config.ignoreCarpet
+ } else false
+} \ No newline at end of file