Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-27 08:30:09 +01:00
Ursprung
cf7d49aec5
Commit
ea0f91136e
@ -106,9 +106,13 @@ public class ComponentRewriter {
|
||||
processText(root);
|
||||
return root;
|
||||
} catch (JsonSyntaxException e) {
|
||||
if (Via.getManager().isDebug()) {
|
||||
Via.getPlatform().getLogger().severe("Error when trying to parse json: " + value);
|
||||
throw e;
|
||||
}
|
||||
// Yay to malformed json being accepted
|
||||
return new JsonPrimitive(value);
|
||||
}
|
||||
}
|
||||
|
||||
public void processText(JsonElement element) {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren