From 9a9c41b1edddae6743406c7d9afe6b635b1fcf22 Mon Sep 17 00:00:00 2001 From: spiralhalo Date: Sat, 27 May 2023 21:53:34 +0700 Subject: [PATCH] Quiet warning about mapping --- src/main/java/grondag/canvas/mixin/MixinFogRenderer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/grondag/canvas/mixin/MixinFogRenderer.java b/src/main/java/grondag/canvas/mixin/MixinFogRenderer.java index da3153d5f..77b7161a0 100644 --- a/src/main/java/grondag/canvas/mixin/MixinFogRenderer.java +++ b/src/main/java/grondag/canvas/mixin/MixinFogRenderer.java @@ -32,7 +32,7 @@ @Mixin(FogRenderer.class) public class MixinFogRenderer { - @Redirect(method = "setupColor", at = @At(value = "INVOKE", target = "Lcom/mojang/blaze3d/systems/RenderSystem;clearColor(FFFF)V"), require = 1) + @Redirect(method = "setupColor", at = @At(value = "INVOKE", target = "Lcom/mojang/blaze3d/systems/RenderSystem;clearColor(FFFF)V", remap = false), require = 1) private static void onClearColor(float r, float g, float b, float a) { ShaderDataManager.captureClearColor(r, g, b); RenderSystem.clearColor(r, g, b, a);