9
0
mirror of https://github.com/Winds-Studio/Leaf.git synced 2025-12-23 08:59:23 +00:00

do not log invalid flatten text component parse

The error will throw and spam when tried to load / upgrade text component on legacy item from very old version, e.g. 1.16.5.
The item's text component can load and be saved normally, but spam error in console just very annoying when everytime loaded them before saved.
This commit is contained in:
Dreeam
2025-06-06 05:56:47 +08:00
parent 6d4a459066
commit 4ebb4da022
2 changed files with 20 additions and 0 deletions

View File

@@ -92,6 +92,7 @@ public class GaleGlobalConfiguration extends ConfigurationPart {
public boolean legacyMaterialInitialization = false; // Gale - Purpur - do not log legacy Material initialization
public boolean nullIdDisconnections = true; // Gale - Pufferfish - do not log disconnections with null id
public boolean playerLoginLocations = true; // Gale - JettPack - make logging login location configurable
public boolean invalidLegacyTextComponent = false; // Leaf - do not log invalid flatten text component parse
public Chat chat;