From 6f24506d6f8a25f0ce97fc1336136180004ffe26 Mon Sep 17 00:00:00 2001 From: Josiah Glosson Date: Tue, 12 Nov 2024 10:07:23 -0600 Subject: [PATCH] Fix 1.19.2 --- .../gaming32/worldhost/mixin/MixinSelectWorldScreen.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/io/github/gaming32/worldhost/mixin/MixinSelectWorldScreen.java b/src/main/java/io/github/gaming32/worldhost/mixin/MixinSelectWorldScreen.java index fde7216..8083b75 100644 --- a/src/main/java/io/github/gaming32/worldhost/mixin/MixinSelectWorldScreen.java +++ b/src/main/java/io/github/gaming32/worldhost/mixin/MixinSelectWorldScreen.java @@ -123,7 +123,9 @@ private void updateShareButtonStatus(LevelSummary levelSummary, CallbackInfo ci) //#else //$$ private void updateShareButtonStatus( //$$ boolean active, - //$$ boolean bl2, + //#if MC > 1.19.2 + //$$ boolean bl2, + //#endif //$$ CallbackInfo ci //$$ ) { //$$ if (wh$shareButton != null) {