Made it so the book does not give the filling recipe when the Blood Orb recipe is queried.

(cherry picked from commit afa3d1e)
This commit is contained in:
WayofTime 2016-12-20 16:28:16 -08:00 committed by Nicholas Ignoffo
parent c46ed3e648
commit 60eba2071d
2 changed files with 2 additions and 1 deletions

View file

@ -2,6 +2,7 @@
Version 2.1.1-70 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. - 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 Version 2.1.0-69

View file

@ -33,7 +33,7 @@ public class RecipeHelper
{ {
for (AltarRecipeRegistry.AltarRecipe recipe : AltarRecipeRegistry.getRecipes().values()) for (AltarRecipeRegistry.AltarRecipe recipe : AltarRecipeRegistry.getRecipes().values())
{ {
if (recipe != null) if (recipe != null && !recipe.isFillable())
{ {
ItemStack resultStack = recipe.getOutput(); ItemStack resultStack = recipe.getOutput();
if (!resultStack.isEmpty()) if (!resultStack.isEmpty())