KyoriPowered / adventure

A user-interface library, formerly known as text, for Minecraft: Java Edition
https://docs.advntr.dev/
MIT License
679 stars 105 forks source link

Fallback parameter in TranslatableComponent doesn't insert params #904

Closed Camotoy closed 1 year ago

Camotoy commented 1 year ago

Tested with Adventure 4.13.1.

/tellraw @a {"translate":"test.missing","fallback":"My name is %s!","with":["Camotoy"]}

Java 1.19.4: My name is Camotoy!

Adventure with TranslatableComponentRenderer and LegacyComponentSerializer: My name is %s!

kashike commented 1 year ago

Should be fixed with https://github.com/KyoriPowered/adventure/commit/be627303a65e7ac1fbebaa5f0f91f23150d8fc5e.