From eef3a9e7ebf476d5531ac06c91e25cbfb21e8bd4 Mon Sep 17 00:00:00 2001 From: Tellinq <59412384+Tellinq@users.noreply.github.com> Date: Wed, 16 Jul 2025 17:16:01 -0400 Subject: [PATCH] Kotlin Multi Version: Fix <=1.12.2 entrypoints not working --- src/main/kotlin/org/polyfrost/example/ExampleEntrypoint.kt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/kotlin/org/polyfrost/example/ExampleEntrypoint.kt b/src/main/kotlin/org/polyfrost/example/ExampleEntrypoint.kt index 6eeffd8..06b4f11 100644 --- a/src/main/kotlin/org/polyfrost/example/ExampleEntrypoint.kt +++ b/src/main/kotlin/org/polyfrost/example/ExampleEntrypoint.kt @@ -55,6 +55,8 @@ class ExampleEntrypoint //#if FABRIC //$$ override + //#elseif FORGE && MC <= 1.12.2 + @Mod.EventHandler //#endif fun onInitialize( //#if FORGE-LIKE @@ -70,6 +72,8 @@ class ExampleEntrypoint //#if FABRIC //$$ override + //#elseif FORGE && MC <= 1.12.2 + @Mod.EventHandler //#endif fun onInitializeClient( //#if FORGE-LIKE @@ -89,6 +93,8 @@ class ExampleEntrypoint //#if FABRIC //$$ override + //#elseif FORGE && MC <= 1.12.2 + @Mod.EventHandler //#endif fun onInitializeServer( //#if FORGE-LIKE