
Crash with `Screenshot Viewer` & `TCDCommons API` on 1.21.1
mpustovoi opened this issue ยท 0 comments
Mod Names
TCDCommons API
Screenshot Viewer
Mod Homepages
https://modrinth.com/mod/tcdcommons
https://modrinth.com/mod/screenshot-viewer
Minecraft version
1.21.1
Describe the bug
The game crashes with Screenshot Viewer and TCDCommons API installed.
Steps to reproduce
- Install latest Connector with Forgified Fabric API (and Connector Extras).
- Install TCDCommons API (fabric-1.21) - v3.12.7
- Install Screenshot Viewer 1.3.3
- Launch the game and see it crashes:
I guess that here is the key point in the logs indicating the error:
[Render thread/WARN] [mixin/]: @Redirect conflict. Skipping screenshot_viewer.mixins.json:NativeImageMixin from mod screenshot_viewer->@Redirect::screenshot_viewer$redirect_validate(Ljava/nio/ByteBuffer;)V with priority 1000, already redirected by tcdcommons.client.mixin.events.json:MixinNativeImage from mod tcdcommons->@Redirect::skipPngValidation(Ljava/nio/ByteBuffer;)V with priority 1000
When testing individually (only with Screenshot Viewer or only with TCDCommons API, no crash occurs).
Logs
https://gist.github.com/mpustovoi/446ef7d81fe5814ab657562d4a666b92
Additional context
Logs: https://mclo.gs/zKaLYIQ.
Crash report: https://mclo.gs/2ex59IY.
The issue doesn't happen on Fabric 1.21.1 with a minimap setup.
The problem didn't occur on Forge 1.20.1, since Screenshot Viewer has a port for this version.
TCDCommons API is actually needed for the Better Statistics Screen mod to work.