3
0
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:
EnZaXD 2024-07-27 19:53:44 +02:00 committet von GitHub
Ursprung c9d6fbfcd0
Commit 721e27eb39
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: B5690EEEBB952194

Datei anzeigen

@ -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) {