From 40c6d50d5e33ae7ad9595a2d62a8242a5298d76d Mon Sep 17 00:00:00 2001 From: mcrcortex <18544518+MCRcortex@users.noreply.github.com> Date: Sat, 17 May 2025 14:21:26 +1000 Subject: [PATCH] dont remap args --- .../me/cortex/voxy/client/mixin/minecraft/MixinGlDebug.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/me/cortex/voxy/client/mixin/minecraft/MixinGlDebug.java b/src/main/java/me/cortex/voxy/client/mixin/minecraft/MixinGlDebug.java index 2767af72..2d37dfc7 100644 --- a/src/main/java/me/cortex/voxy/client/mixin/minecraft/MixinGlDebug.java +++ b/src/main/java/me/cortex/voxy/client/mixin/minecraft/MixinGlDebug.java @@ -7,11 +7,10 @@ import org.slf4j.Logger; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.Unique; import org.spongepowered.asm.mixin.injection.At; -import org.spongepowered.asm.mixin.injection.Inject; @Mixin(GlDebug.class) public class MixinGlDebug { - @WrapOperation(method = "onDebugMessage", at = @At(value = "INVOKE", target = "Lorg/slf4j/Logger;info(Ljava/lang/String;Ljava/lang/Object;)V")) + @WrapOperation(method = "onDebugMessage", at = @At(value = "INVOKE", target = "Lorg/slf4j/Logger;info(Ljava/lang/String;Ljava/lang/Object;)V", remap = false)) private void voxy$wrapDebug(Logger instance, String base, Object msgObj, Operation original) { if (msgObj instanceof GlDebug.DebugMessage msg) { var throwable = new Throwable(msg.toString());