Skip to content

Commit

Permalink
Fix typo in cauldron recipe serializer
Browse files Browse the repository at this point in the history
  • Loading branch information
KnightMiner committed Aug 21, 2020
1 parent 38a3f6b commit 6f675d8
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -163,7 +163,7 @@ public CauldronRecipe read(ResourceLocation id, JsonObject json) {
Ingredient input = Ingredient.EMPTY;
int amount = 0;
if (inputJson.has("item")) {
input = CraftingHelper.getIngredient(json.get("item"));
input = CraftingHelper.getIngredient(inputJson.get("item"));
amount = JSONUtils.getInt(json, "amount", 1);
}
ICauldronIngredient contents = CauldronIngredients.read(JSONUtils.getJsonObject(inputJson, "contents"));
Expand Down

0 comments on commit 6f675d8

Please sign in to comment.