ViaVersion / ViaBackwards

Allows the connection of older clients to newer server versions for Minecraft servers.
https://hangar.papermc.io/ViaVersion/ViaBackwards
GNU General Public License v3.0
442 stars 85 forks source link

Handle 1.14->1.13.2 lore tag properly #773

Closed FlorianMichael closed 1 month ago

FlorianMichael commented 1 month ago

Handle the lore tag like 1.14 does by checking for null components / removing the entire lore tag when one of its entries is invalid; I believe we would also need this for name conversion one protocol below. The Problem is that we need to handle translations there, and since the current component rewriter base relies on JsonElement, we would need to parse the name multiple times, so I left this out.

1.14 source code:

image