From c8a55f8774a12ca670cd9c16affa4a8e79b0482a Mon Sep 17 00:00:00 2001 From: Username404-59 Date: Mon, 3 May 2021 13:11:58 +0200 Subject: [PATCH] Make FabricInit a class again --- .../main/kotlin/fr/username404/snowygui/fabric/FabricInit.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fabric/src/main/kotlin/fr/username404/snowygui/fabric/FabricInit.kt b/fabric/src/main/kotlin/fr/username404/snowygui/fabric/FabricInit.kt index 9b5abe9..01f472c 100644 --- a/fabric/src/main/kotlin/fr/username404/snowygui/fabric/FabricInit.kt +++ b/fabric/src/main/kotlin/fr/username404/snowygui/fabric/FabricInit.kt @@ -7,7 +7,7 @@ import net.fabricmc.api.ClientModInitializer import net.fabricmc.fabric.api.client.rendering.v1.HudRenderCallback import net.fabricmc.fabric.api.client.rendering.v1.HudRenderCallback.EVENT -object FabricInit: Snowy(), ClientModInitializer { +class FabricInit: Snowy(), ClientModInitializer { override fun onInitializeClient() { atInit() EVENT.register(