Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-16 04:50:08 +01:00
Rewrite show_item in translation components in 1.11.1->1.12 (#4053)
Fixes https://github.com/ViaVersion/ViaVersion/issues/4051
Dieser Commit ist enthalten in:
Ursprung
c9d6fbfcd0
Commit
721e27eb39
@ -46,6 +46,8 @@ public final class ChatItemRewriter {
|
|||||||
}
|
}
|
||||||
} else if (obj.has("extra")) {
|
} else if (obj.has("extra")) {
|
||||||
toClient(obj.get("extra"));
|
toClient(obj.get("extra"));
|
||||||
|
} else if (obj.has("translate") && obj.has("with")) {
|
||||||
|
toClient(obj.get("with"));
|
||||||
}
|
}
|
||||||
} else if (element instanceof final JsonArray array) {
|
} else if (element instanceof final JsonArray array) {
|
||||||
for (JsonElement value : array) {
|
for (JsonElement value : array) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren