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 authored and LLytho committed Apr 6, 2024
1 parent a761132 commit 25c0a4a
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 25c0a4a

Please sign in to comment.