From 60eba2071d882328eadc78823718a7a15ae3013d Mon Sep 17 00:00:00 2001 From: WayofTime Date: Tue, 20 Dec 2016 16:28:16 -0800 Subject: [PATCH] Made it so the book does not give the filling recipe when the Blood Orb recipe is queried. (cherry picked from commit afa3d1e) --- changelog.txt | 1 + .../java/WayofTime/bloodmagic/util/helper/RecipeHelper.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/changelog.txt b/changelog.txt index ef5c9955..eb4846c7 100644 --- a/changelog.txt +++ b/changelog.txt @@ -2,6 +2,7 @@ Version 2.1.1-70 ------------------------------------------------------ - Added Fluid routing to the routing nodes - this is done by using the Fluid Filter and placing a fluid container as the filter. +- Made it so the book does not give the filling recipe when the Blood Orb recipe is queried. ------------------------------------------------------ Version 2.1.0-69 diff --git a/src/main/java/WayofTime/bloodmagic/util/helper/RecipeHelper.java b/src/main/java/WayofTime/bloodmagic/util/helper/RecipeHelper.java index 98f29fa0..acebf301 100644 --- a/src/main/java/WayofTime/bloodmagic/util/helper/RecipeHelper.java +++ b/src/main/java/WayofTime/bloodmagic/util/helper/RecipeHelper.java @@ -33,7 +33,7 @@ public class RecipeHelper { for (AltarRecipeRegistry.AltarRecipe recipe : AltarRecipeRegistry.getRecipes().values()) { - if (recipe != null) + if (recipe != null && !recipe.isFillable()) { ItemStack resultStack = recipe.getOutput(); if (!resultStack.isEmpty())