Skip to content
Success

Changes

Summary

  1. chat: Correct placeholder handling in translatable (commit: bd07be8) (details)
Commit bd07be87720a547a9e44d4c01254e5c0b48f99fd by zml
chat: Correct placeholder handling in translatable

This change makes TranslatableComponent still scan a
translation string for placeholders, even if the translation string
itself is being used (rather than a value found from the
ResourceBundle). This matches vanilla behavior and allows plugins that
use this system with serverside translations and other custom
translation systems to send output to the server console correctly.
(commit: bd07be8)
The file was addedchat/src/test/java/net/md_5/bungee/api/chat/TranslatableComponentTest.java
The file was modifiedchat/src/main/java/net/md_5/bungee/api/chat/TranslatableComponent.java (diff)