diff --git a/shared/src/main/java/net/blay09/mods/forbiddensmoothies/crafting/BlenderRecipe.java b/shared/src/main/java/net/blay09/mods/forbiddensmoothies/crafting/BlenderRecipe.java index 416efd8..1b35b41 100644 --- a/shared/src/main/java/net/blay09/mods/forbiddensmoothies/crafting/BlenderRecipe.java +++ b/shared/src/main/java/net/blay09/mods/forbiddensmoothies/crafting/BlenderRecipe.java @@ -95,8 +95,6 @@ public BlenderRecipe fromJson(ResourceLocation id, JsonObject jsonObject) { final var ingredients = itemsFromJson(GsonHelper.getAsJsonArray(jsonObject, "ingredients")); if (ingredients.isEmpty()) { throw new JsonParseException("No ingredients for blender recipe"); - } else if (ingredients.size() > 9) { - throw new JsonParseException("Too many ingredients for blender recipe"); } else { final var resultItem = ShapedRecipe.itemStackFromJson(GsonHelper.getAsJsonObject(jsonObject, "result")); final var weight = Weight.of(GsonHelper.getAsInt(jsonObject, "weight", 1)); diff --git a/shared/src/main/java/net/blay09/mods/forbiddensmoothies/crafting/PrinterRecipe.java b/shared/src/main/java/net/blay09/mods/forbiddensmoothies/crafting/PrinterRecipe.java index 6ec889f..ed60d02 100644 --- a/shared/src/main/java/net/blay09/mods/forbiddensmoothies/crafting/PrinterRecipe.java +++ b/shared/src/main/java/net/blay09/mods/forbiddensmoothies/crafting/PrinterRecipe.java @@ -34,13 +34,15 @@ public PrinterRecipe(ResourceLocation id, ItemStack resultItem, NonNullList 9) { - throw new JsonParseException("Too many ingredients for printer recipe"); } else { final var resultItem = ShapedRecipe.itemStackFromJson(GsonHelper.getAsJsonObject(jsonObject, "result")); final var weight = Weight.of(GsonHelper.getAsInt(jsonObject, "weight", 1));