From 5cbe72985a90d6cf5978b9acdce708f16552bd61 Mon Sep 17 00:00:00 2001 From: "Josiah (Gaming32) Glosson" Date: Sat, 28 Oct 2023 20:58:59 -0500 Subject: [PATCH] Fix 1.18.2 crash --- .../gaming32/worldhost/mixin/MixinConnectScreen_1.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/java/io/github/gaming32/worldhost/mixin/MixinConnectScreen_1.java b/src/main/java/io/github/gaming32/worldhost/mixin/MixinConnectScreen_1.java index 601c142..ef8cc68 100644 --- a/src/main/java/io/github/gaming32/worldhost/mixin/MixinConnectScreen_1.java +++ b/src/main/java/io/github/gaming32/worldhost/mixin/MixinConnectScreen_1.java @@ -26,7 +26,10 @@ public class MixinConnectScreen_1 { private void initRefs( ConnectScreen connectScreen, String string, //#if MC > 1.16.5 - ServerAddress serverAddress, Minecraft minecraft, ServerData serverData, + ServerAddress serverAddress, Minecraft minecraft, + //#if MC > 1.19.2 + ServerData serverData, + //#endif //#else //$$ String host, int port, //#endif