Skip to content

Commit

Permalink
fixed a IRecipe not saving a coupe fields in it's toJson method
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinsdar committed Sep 1, 2024
1 parent c6b2f1b commit 8db460b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions common/src/main/java/muramasa/antimatter/recipe/IRecipe.java
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,8 @@ default JsonObject toJson() {
if (!array.isEmpty()){
json.add("inputChances", array);
}
json.addProperty("hidden", this.isHidden());
json.addProperty("fake", this.isFake());
json.addProperty("recipeID", this.getId().toString());
json.addProperty("map", this.getMapId());
return json;
Expand Down

0 comments on commit 8db460b

Please sign in to comment.