fix adventure translations

This commit is contained in:
Jake Potrebic
2024-04-26 15:08:35 -07:00
parent 8cb49c8d67
commit 6ba0e1048f
2 changed files with 24 additions and 13 deletions

View File

@@ -25,4 +25,4 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ // CraftItemStack.setItemMeta(itemstack, CraftItemStack.getItemMeta(itemstack)); // Paper - This is no longer with raw NBT being handled in metadata
// Spigot end
ITEM_STREAM_CODEC.encode(registryfriendlybytebuf, itemstack.getItemHolder()); // CraftBukkit - decompile error
DataComponentPatch.STREAM_CODEC.encode(registryfriendlybytebuf, itemstack.components.asPatch());
// Paper start - adventure; conditionally render translatable components