Closed Xenapte closed 4 months ago
Running into the same issue with ViaFabricPlus.
Closing this issue as OP has outdated ViaVersion, if you can reproduce this with latest viafabric + viaversion jars combined then make a reply and it will be reopened.
Can confirm this still exists with the latest viafabric-0.4.14+68-main. In fact, trying to paste the command to summon that huge NBT data item into a command block causes a kick too, for the server sends the full command as feedback.
New viaversion dump: https://dump.viaversion.com/1b809d682ac2e7b51102c66a0fe2a124a43be563ecc606bf06843fd147894500 (I'll update the link in the issue report itself too)
Command used to summon the item: https://mclo.gs/pAvfoZk
Same as https://github.com/ViaVersion/ViaVersion/blob/2d41eb52a6692e7552242091d749c3058d99f9e9/common/src/main/java/com/viaversion/viaversion/util/ComponentUtil.java#L78, seems to be down to ViaNBT not handling something Vanilla does
/viaversion dump
Outputhttps://dump.viaversion.com/1b809d682ac2e7b51102c66a0fe2a124a43be563ecc606bf06843fd147894500
Console Error
https://mclo.gs/aihPUyW
Yes, I know this is a bit long because it contains the entire data of that large packet.
Bug Description
Some servers have plugins that allow arbitrary item to be displayed as a weapon in death messages. Killing players with an item that has a large NBT data size causes players running ViaFabric to disconnect with the DataFormatException.
Steps to Reproduce
player-deaths-always-show-item: true
)Expected Behavior
The death message is displayed correctly with the shulker box as the weapon item.
Additional Server Info
Kick screen.
Checklist