clientbound/minecraft:system_chat
Describe the bug https://pastebin.com/DsSzjR02
Software brand 5.4.0-SNAPSHOT-739 packetevent 2.7.1+2a137b005-SNAPSHOT
How To Reproduce I use the plugin TypeWriter
Experiencing the same issue, the "dialogue" box from typewriter wouldn't exit and just stays in the chat, sending that error message
could you please provide a clear way to reproduce this issue?
could you please provide a clear way to reproduce this issue?
Hey! This happens with typewriter plugin, usually happens (at least in my case) when a dialogue goes in the chat and there are "options" you need to select and when you choose one, the dialogue SHOULD go out/be cleared, but it doesn't and sends this error instead.
@booky10, author of Typewriter here 👋. I've seen this issue come up multiple times.
For most users, it is likely that another plugin is sending messages with the show_item hover component type.
This error occurs because Typewriter listens for system chat packets and attempts to read their content.
Caused by: java.lang.IllegalArgumentException: There is no data holder converter registered to convert from a class com.github.retrooper.packetevents.util.adventure.AdventureNBTSerializer$NbtComponentValue instance to a class io.papermc.paper.adventure.PaperAdventure$DataComponentValueImpl (on field minecraft:lore)
I don't think this is something I can change myself; it needs to be fixed in packetevents.
packetevents reads and writes components from/to serialized nbt, so im not how this class cast exception happens
I didn't do much investigation on this issue yet - do you happen to send components read via packetevents through the paper api? this would probably cause this error, as paper expects their own show_item classes and casts to them @gabber235
Typewriter is not the plugin sending the messages. We have a PacketListener that monitors system messages. It intercepts packets and reads their contents using the corresponding wrapper, and this process causes the exception.
Someone on the Typewriter Discord mentioned that Triton might be the cause. I have not verified this myself, but it might give you a lead.
I can say that it's not because of Triton because I have no idea about it since I don't use/have it.
I use the triton plugin which is a message translation plugin, I removed all the plugins from my server, added the typewriter and its dependencies, and to test why it was failing I first added Triton, as soon as I added it, the dialog messages stopped appearing and I got an error with the chat management, now I removed that plugin and it works fine for me.
Hi, I have a similar issue. I don't use Triton; I use the EssentialsChat plugin along with Typewriter and its dependencies. I noticed this problem in my chat In Game at the end of a cinematic sequence using Typewriter.
I can't replicate it consistently, but it only occurs when i launched a cinematic followed by sending a message at the end of the cinematic.
Confirming; this issue appears for me and we do not run Triton. Seemingly a PE bug then?