Fix Mixin_PreserveDepthDuringGuiRendering for 1.14-16

This commit is contained in:
Jonas Herzig
2021-07-24 11:22:34 +02:00
parent 2415a886e2
commit 2f4360a2a1

View File

@@ -10,7 +10,7 @@ import org.spongepowered.asm.mixin.injection.ModifyArg;
@Mixin(GameRenderer.class) @Mixin(GameRenderer.class)
public abstract class Mixin_PreserveDepthDuringGuiRendering { public abstract class Mixin_PreserveDepthDuringGuiRendering {
@ModifyArg( @ModifyArg(
//#if MC>=11700 //#if MC>=11400
method = "render", method = "render",
at = @At(value = "INVOKE", target = "Lcom/mojang/blaze3d/systems/RenderSystem;clear(IZ)V"), index = 0 at = @At(value = "INVOKE", target = "Lcom/mojang/blaze3d/systems/RenderSystem;clear(IZ)V"), index = 0
//#else //#else