mirror of
https://github.com/Winds-Studio/Leaf.git
synced 2025-12-23 17:09:29 +00:00
Should be inverted
This commit is contained in:
@@ -5,7 +5,7 @@ Subject: [PATCH] do not log invalid flatten text component parse
|
|||||||
|
|
||||||
|
|
||||||
diff --git a/ca/spottedleaf/dataconverter/minecraft/versions/V4290.java b/ca/spottedleaf/dataconverter/minecraft/versions/V4290.java
|
diff --git a/ca/spottedleaf/dataconverter/minecraft/versions/V4290.java b/ca/spottedleaf/dataconverter/minecraft/versions/V4290.java
|
||||||
index 4197a5e89aec77f2893f0f118a927b96d5377ec1..7a9bf426550a0c424f3ca09fb962aac670bc0921 100644
|
index 4197a5e89aec77f2893f0f118a927b96d5377ec1..de99a05bbe3e8dac2d6307eb53d954d77904a0c4 100644
|
||||||
--- a/ca/spottedleaf/dataconverter/minecraft/versions/V4290.java
|
--- a/ca/spottedleaf/dataconverter/minecraft/versions/V4290.java
|
||||||
+++ b/ca/spottedleaf/dataconverter/minecraft/versions/V4290.java
|
+++ b/ca/spottedleaf/dataconverter/minecraft/versions/V4290.java
|
||||||
@@ -191,7 +191,7 @@ public final class V4290 {
|
@@ -191,7 +191,7 @@ public final class V4290 {
|
||||||
@@ -13,7 +13,7 @@ index 4197a5e89aec77f2893f0f118a927b96d5377ec1..7a9bf426550a0c424f3ca09fb962aac6
|
|||||||
}
|
}
|
||||||
} catch (final JsonParseException ex) {
|
} catch (final JsonParseException ex) {
|
||||||
- LOGGER.error("Failed to convert json to nbt: " + unparsedJson, ex);
|
- LOGGER.error("Failed to convert json to nbt: " + unparsedJson, ex);
|
||||||
+ if (!org.galemc.gale.configuration.GaleGlobalConfiguration.get().logToConsole.invalidLegacyTextComponent) LOGGER.error("Failed to convert json to nbt: " + unparsedJson, ex); // Leaf - do not log invalid flatten text component parse
|
+ if (org.galemc.gale.configuration.GaleGlobalConfiguration.get().logToConsole.invalidLegacyTextComponent) LOGGER.error("Failed to convert json to nbt: " + unparsedJson, ex); // Leaf - do not log invalid flatten text component parse
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
@@ -92,7 +92,7 @@ public class GaleGlobalConfiguration extends ConfigurationPart {
|
|||||||
public boolean legacyMaterialInitialization = false; // Gale - Purpur - do not log legacy Material initialization
|
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 nullIdDisconnections = true; // Gale - Pufferfish - do not log disconnections with null id
|
||||||
public boolean playerLoginLocations = true; // Gale - JettPack - make logging login location configurable
|
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 boolean invalidLegacyTextComponent = true; // Leaf - do not log invalid flatten text component parse
|
||||||
|
|
||||||
public Chat chat;
|
public Chat chat;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user