Fix recipe by stack lookup

This commit is contained in:
Nick 2015-11-03 09:47:38 -08:00
parent ddcc1237e8
commit e12c78877e

View file

@ -20,6 +20,10 @@ public class AltarRecipeRegistry {
} }
public static AltarRecipe getRecipeForInput(ItemStack input) { public static AltarRecipe getRecipeForInput(ItemStack input) {
return recipes.get(input); for (ItemStack stack : recipes.keySet())
if (stack.getIsItemStackEqual(input))
return recipes.get(stack);
return null;
} }
} }