From 0812d7d63ffb4cd73dd08d8c50abb3b07ce70cc2 Mon Sep 17 00:00:00 2001 From: Ennui Langeweile <85590273+EnnuiL@users.noreply.github.com> Date: Fri, 9 Jun 2023 02:16:48 -0300 Subject: [PATCH] Fix the PMW screen injection --- .../io/github/ennuil/ok_zoomer/mixin/MinecraftClientMixin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/github/ennuil/ok_zoomer/mixin/MinecraftClientMixin.java b/src/main/java/io/github/ennuil/ok_zoomer/mixin/MinecraftClientMixin.java index 48cf738f..7f16c685 100644 --- a/src/main/java/io/github/ennuil/ok_zoomer/mixin/MinecraftClientMixin.java +++ b/src/main/java/io/github/ennuil/ok_zoomer/mixin/MinecraftClientMixin.java @@ -11,7 +11,7 @@ @Mixin(MinecraftClient.class) public class MinecraftClientMixin { @ModifyArg( - method = "(Lnet/minecraft/client/RunArgs;)V", + method = "connectQuickPlay", at = @At( value = "INVOKE", target = "Lnet/minecraft/client/MinecraftClient;setScreen(Lnet/minecraft/client/gui/screen/Screen;)V"