From 4e81e91a7aea23b81347accf56f89121451f7e0c Mon Sep 17 00:00:00 2001 From: Appability Date: Wed, 12 Oct 2022 14:30:01 -0700 Subject: ignore carpet (this time stolen from floppa) + surprisingly annoying lateinit stuff --- src/main/kotlin/com/ambientaddons/AmbientAddons.kt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/main/kotlin/com/ambientaddons/AmbientAddons.kt') 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 -- cgit