Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-04 23:30:24 +01:00
Use ChatRewriter.legacyTextToJson in metadata rewriting
Dieser Commit ist enthalten in:
Ursprung
faabe5afb2
Commit
c709b019e1
@ -28,7 +28,7 @@ public class MetadataRewriter {
|
||||
if (metadata.getId() == 2) {
|
||||
metadata.setMetaType(MetaType1_13.OptChat);
|
||||
if (metadata.getValue() != null && !((String) metadata.getValue()).isEmpty()) {
|
||||
metadata.setValue(Protocol1_9TO1_8.fixJson((String) metadata.getValue()));
|
||||
metadata.setValue(ChatRewriter.legacyTextToJson((String) metadata.getValue()));
|
||||
} else {
|
||||
metadata.setValue(null);
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren