From 8e1a116526aaa45b785aed20753a19199b7a6c3f Mon Sep 17 00:00:00 2001 From: dima_dencep Date: Wed, 24 Apr 2024 04:15:47 +0700 Subject: [PATCH] Fix remap warn --- .../dimadencep/mods/rrls/mixins/LoadingOverlayMixin.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/common/src/main/java/com/github/dimadencep/mods/rrls/mixins/LoadingOverlayMixin.java b/common/src/main/java/com/github/dimadencep/mods/rrls/mixins/LoadingOverlayMixin.java index 2182e37..cbbea0a 100644 --- a/common/src/main/java/com/github/dimadencep/mods/rrls/mixins/LoadingOverlayMixin.java +++ b/common/src/main/java/com/github/dimadencep/mods/rrls/mixins/LoadingOverlayMixin.java @@ -114,7 +114,8 @@ private static int replaceAlpha(int color, int alpha) { method = "render", at = @At( value = "INVOKE", - target = "Lcom/mojang/blaze3d/platform/GlStateManager;_clear(IZ)V" + target = "Lcom/mojang/blaze3d/platform/GlStateManager;_clear(IZ)V", + remap = false ) ) public void rrls$_clear(int mask, boolean getError, Operation original) { @@ -127,7 +128,8 @@ private static int replaceAlpha(int color, int alpha) { method = "render", at = @At( value = "INVOKE", - target = "Lcom/mojang/blaze3d/platform/GlStateManager;_clearColor(FFFF)V" + target = "Lcom/mojang/blaze3d/platform/GlStateManager;_clearColor(FFFF)V", + remap = false ) ) public void rrls$_clearColor(float red, float green, float blue, float alpha, Operation original) {