mirror of
https://github.com/GeyserMC/Geyser.git
synced 2025-12-28 03:09:08 +00:00
Fix sign reading in specific cases where the "text" key is omitted
This commit is contained in:
@@ -458,7 +458,7 @@ public class MessageTranslator {
|
||||
return Component.join(JoinConfiguration.noSeparators(), componentsFromNbtList(list, style));
|
||||
} else if (nbtTag instanceof NbtMap map) {
|
||||
Component component = null;
|
||||
String text = map.getString("text", null);
|
||||
String text = map.getString("text", map.getString("", null));
|
||||
if (text != null) {
|
||||
component = Component.text(text);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user