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

This commit is contained in:
WayofTime 2016-12-20 19:28:16 -05:00
parent 082d2b8f4d
commit afa3d1ef91
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 != null && resultStack.getItem() != null) if (resultStack != null && resultStack.getItem() != null)