forked from GeyserMC/Geyser
Update to Adventure 4.1.1 (#1410)
* Update to Adventure 4.0.0 * Update to 4.0.1 * Update again, I guess.
This commit is contained in:
parent
b02bc33393
commit
7f5fac38c6
2 changed files with 7 additions and 7 deletions
|
@ -101,7 +101,7 @@ public class BasicItemTranslator extends NbtItemStackTranslator {
|
|||
if (message.startsWith("§r")) {
|
||||
message = message.replaceFirst("§r", "");
|
||||
}
|
||||
Component component = TextComponent.of(message);
|
||||
Component component = Component.text(message);
|
||||
return GsonComponentSerializer.gson().serialize(component);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue