Architectury API (Fabric/Forge/NeoForge)

Architectury API (Fabric/Forge/NeoForge)

158M Downloads

Forge 43.1.1 (1.19.2) - Crash when using chat

big-julius opened this issue · 4 comments

commented

Hello,

When anyone on my server try to post a message in the chat : all players connected have their game crashing.
I send the crash report.
crash-2022-08-21_12.00.30-client.txt

commented

Oh sh*t! I did the same mistake... Sorry and thankk you for the reply. ;)

commented

I confirm that, the exception occurs on client

java.lang.NoSuchMethodError: 'net.minecraft.network.chat.ChatType net.minecraftforge.client.event.ClientChatReceivedEvent.getType()'
	at dev.architectury.event.forge.EventHandlerImplClient.event(EventHandlerImplClient.java:120) ~[architectury-5.12.42-forge.jar%23147!/:?] {re:classloading,pl:runtimedistcleaner:A}
commented

On Minecraft 1.19.1 and 1.19.2 you have to use Architectury 6.x, but you have 5.x. Upgrading should fix it.

commented

Thanks! I've downloaded 5.x because it was on top
image