Skip to content

Commit

Permalink
add category to default ignored recipe keys for duplicate checks
Browse files Browse the repository at this point in the history
fixes #66
  • Loading branch information
rlnt committed Aug 22, 2024
1 parent 15e9c0e commit 54b9f87
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ public static JsonCompare.CompareSettings getDefaultDuplicateRules(AlmostUnified
case FABRIC -> "fabric:load_conditions";
});
result.ignoreField("group");
result.ignoreField("category");
result.addRule("cookingtime", new JsonCompare.HigherRule());
result.addRule("energy", new JsonCompare.HigherRule());
result.addRule("experience", new JsonCompare.HigherRule());
Expand All @@ -216,6 +217,7 @@ public static LinkedHashMap<ResourceLocation, JsonCompare.CompareSettings> getDe
case FABRIC -> "fabric:load_conditions";
});
result.ignoreField("group");
result.ignoreField("category");
result.ignoreField("pattern");
result.ignoreField("key");
LinkedHashMap<ResourceLocation, JsonCompare.CompareSettings> resultMap = new LinkedHashMap<>();
Expand Down

0 comments on commit 54b9f87

Please sign in to comment.