[1.18.2][Compatibility] 'Item Sharing' module is not compatible with Chat Heads
qznfbnj opened this issue ยท 1 comments
- Install Forge-1.18.2-40.1.52
- Install chat_heads-0.6.0-forge-1.18.1 alongside Quark-3.2-358
- Startup and crash
If comment out "client.ChatComponentMixin" in quark.mixins.json, game can run normally. But 'Render Items In Chat' function in 'Item Sharing' module will render nothing.
Because I can't figure out whose fault it is, I will submit to another at the same time: dzwdz/chat_heads#28.
Useless stuff:
Latest.log
Debug.log
Crash Report
Chat Heads maintainer here, I fixed this on our end.
The issue was that Chat Heads targets the Font.drawShadow
call that ChatComponentMixin
redirects, so when Quark's mixin is loaded before Chat Heads' mixin, it won't be able to find the method.
Quark's @Redirect
could be replaced by a @ModifyArgs
for better compatibility, but it would make the code uglier (and a little bit less efficient), hence I just opted to adjust the Mixin priority on our side.