From 8e1f96f5c428a22c3a59249af149426dd64707c5 Mon Sep 17 00:00:00 2001 From: TudbuT Date: Tue, 11 Jun 2024 22:59:05 +0200 Subject: [PATCH] make it not lock up hopefully? --- .../java/com/baseband/client/mixin/mixins/MixinMinecraft.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Client/src/main/java/com/baseband/client/mixin/mixins/MixinMinecraft.java b/Client/src/main/java/com/baseband/client/mixin/mixins/MixinMinecraft.java index 7ec6327..4f66ac5 100644 --- a/Client/src/main/java/com/baseband/client/mixin/mixins/MixinMinecraft.java +++ b/Client/src/main/java/com/baseband/client/mixin/mixins/MixinMinecraft.java @@ -9,7 +9,7 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; @Mixin(Minecraft.class) public class MixinMinecraft { - @Inject(method = "init", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/Minecraft;checkGLError(Ljava/lang/String;)V", ordinal = 1, shift = At.Shift.AFTER)) + @Inject(method = "init", at = @At("RETURN")) private void onInit(CallbackInfo ci) { MixinProxy.minecraftOnInit(); }