mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-21 17:45:36 +01:00
Rewrite show_item in translation components in 1.11.1->1.12 (#4053)
Fixes https://github.com/ViaVersion/ViaVersion/issues/4051
This commit is contained in:
parent
c9d6fbfcd0
commit
721e27eb39
@ -46,6 +46,8 @@ public final class ChatItemRewriter {
|
||||
}
|
||||
} else if (obj.has("extra")) {
|
||||
toClient(obj.get("extra"));
|
||||
} else if (obj.has("translate") && obj.has("with")) {
|
||||
toClient(obj.get("with"));
|
||||
}
|
||||
} else if (element instanceof final JsonArray array) {
|
||||
for (JsonElement value : array) {
|
||||
|
Loading…
Reference in New Issue
Block a user