Fix Mixin_PreserveDepthDuringGuiRendering for 1.14-16
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user