mirror of
https://github.com/AlmostReliable/almostunified.git
synced 2024-11-28 10:35:38 -05:00
ignore group
property by default
This commit is contained in:
parent
a3a2cc7b13
commit
e8a24777d8
1 changed files with 2 additions and 0 deletions
|
@ -72,6 +72,7 @@ public class DuplicationConfig extends Config {
|
|||
private JsonCompare.CompareSettings defaultSettings() {
|
||||
JsonCompare.CompareSettings result = new JsonCompare.CompareSettings();
|
||||
result.ignoreField("conditions");
|
||||
result.ignoreField("group");
|
||||
result.addRule("cookingtime", new JsonCompare.HigherRule());
|
||||
result.addRule("energy", new JsonCompare.HigherRule());
|
||||
result.addRule("experience", new JsonCompare.HigherRule());
|
||||
|
@ -81,6 +82,7 @@ public class DuplicationConfig extends Config {
|
|||
private LinkedHashMap<ResourceLocation, JsonCompare.CompareSettings> defaultOverrides() {
|
||||
JsonCompare.CompareSettings result = new JsonCompare.CompareSettings();
|
||||
result.ignoreField("conditions");
|
||||
result.ignoreField("group");
|
||||
result.ignoreField("pattern");
|
||||
result.ignoreField("key");
|
||||
LinkedHashMap<ResourceLocation, JsonCompare.CompareSettings> resultMap = new LinkedHashMap<>();
|
||||
|
|
Loading…
Reference in a new issue