aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/com/ambientaddons/AmbientAddons.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/com/ambientaddons/AmbientAddons.kt')
-rw-r--r--src/main/kotlin/com/ambientaddons/AmbientAddons.kt4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/kotlin/com/ambientaddons/AmbientAddons.kt b/src/main/kotlin/com/ambientaddons/AmbientAddons.kt
index 08cd271..b24aa5c 100644
--- a/src/main/kotlin/com/ambientaddons/AmbientAddons.kt
+++ b/src/main/kotlin/com/ambientaddons/AmbientAddons.kt
@@ -56,6 +56,10 @@ class AmbientAddons {
}
companion object {
+ fun isInitialized(): Boolean {
+ return ::config.isInitialized
+ }
+
val mc: Minecraft = Minecraft.getMinecraft()
var currentGui: GuiScreen? = null