ErdbeerbaerLP / DiscordIntegration-Forge

Forge version of the Discord Integration mod
https://modrinth.com/plugin/dcintegration
MIT License
99 stars 56 forks source link

[Bug]: 1.18 Fabric Mixin Crash with Styled Chat #369

Open Partonetrain opened 2 years ago

Partonetrain commented 2 years ago

What happened?

Server crashes on startup with Styled Chat.

[20:37:41] [main/WARN]: @Inject(@At("INVOKE")) Shift.BY=3 on fabric-lifecycle-events-v1.mixins.json:server.WorldChunkMixin::handler$zce000$onLoadBlockEntity exceeds the maximum allowed value: 0. Increase the value of maxShiftBy to suppress this warning.
[20:37:42] [main/WARN]: @Redirect conflict. Skipping styledchat.mixins.json:ServerPlayNetworkManagerMixin->@Redirect::styledChat_replaceChatMessage(Lnet/minecraft/class_3324;Lnet/minecraft/class_2561;Ljava/util/function/Function;Lnet/minecraft/class_2556;Ljava/util/UUID;Lnet/minecraft/class_5513$class_5837;)V from mod styledchat with priority 1000, already redirected by dcintegration-fabric.mixins.json:MixinNetworkHandler->@Redirect::chatMessage(Lnet/minecraft/class_3324;Lnet/minecraft/class_2561;Ljava/util/function/Function;Lnet/minecraft/class_2556;Ljava/util/UUID;)V from mod dcintegration-fabric with priority 1000
[20:37:42] [main/FATAL]: Failed to start the minecraft server
java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'fabric-networking-v0'!

Full log in attached pastebin.

Game Version

Other

What platform are you using?

No response

Platform version

0.12.8

Config File

N/A

Crash report / Error log (if applicable)

https://pastebin.com/m0PD1XG6

Additional Information

No response

Partonetrain commented 2 years ago

Oh gosh, I put this in the wrong repo. Sorry! Can you transfer this to the fabric repo?

ErdbeerbaerLP commented 2 years ago

No need for transfer ;) Since transferring is not possible, I decided to only have all issues in the Forge repo, as it had multiple issues when splitting things up for multiple loader support.

This issue was known but now that I have an error message, I will see what I can do after porting all editions to 1.18

GooseLifter commented 2 years ago

Hello, is this still an issue with the most recent version?

aeonlamb commented 2 years ago

Still experiencing this conflict...

Stygiannite commented 2 years ago

I'm also experiencing this issue for Fabric 1.18.1. Would love to see an update on it!

TheMightyMcGrew commented 2 years ago

any word on a fix for this?