Mirror von
https://github.com/ViaVersion/ViaBackwards.git
synchronisiert 2024-12-24 23:30:17 +01:00
Fix NPE in 1.16 TranslatableRewriter
Closes ViaVersion/ViaVersion#2655
Dieser Commit ist enthalten in:
Ursprung
e251565837
Commit
a03a3a2a8d
@ -54,7 +54,8 @@ public class TranslatableRewriter1_16 extends TranslatableRewriter {
|
|||||||
@Override
|
@Override
|
||||||
public void processText(JsonElement value) {
|
public void processText(JsonElement value) {
|
||||||
super.processText(value);
|
super.processText(value);
|
||||||
if (!value.isJsonObject()) return;
|
|
||||||
|
if (value == null || !value.isJsonObject()) return;
|
||||||
|
|
||||||
// c o l o r s
|
// c o l o r s
|
||||||
JsonObject object = value.getAsJsonObject();
|
JsonObject object = value.getAsJsonObject();
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren