Mirror von
https://github.com/ViaVersion/ViaBackwards.git
synchronisiert 2024-10-03 08:51:05 +02:00
*Actually* don't cast the ping description
Dieser Commit ist enthalten in:
Ursprung
1b89327d84
Commit
c72f8f766d
@ -60,7 +60,7 @@ public class Protocol1_15_2To1_16 extends BackwardsProtocol<ClientboundPackets1_
|
||||
handler(wrapper -> {
|
||||
String original = wrapper.passthrough(Type.STRING);
|
||||
JsonObject object = GsonUtil.getGson().fromJson(original, JsonObject.class);
|
||||
JsonElement description = object.getAsJsonObject("description");
|
||||
JsonElement description = object.get("description");
|
||||
if (description == null) return;
|
||||
|
||||
translatableRewriter.processText(description);
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren