diff --git a/src/main/java/WayofTime/bloodmagic/compat/jei/altar/AltarRecipeMaker.java b/src/main/java/WayofTime/bloodmagic/compat/jei/altar/AltarRecipeMaker.java index a2adf9ed..a6776a38 100644 --- a/src/main/java/WayofTime/bloodmagic/compat/jei/altar/AltarRecipeMaker.java +++ b/src/main/java/WayofTime/bloodmagic/compat/jei/altar/AltarRecipeMaker.java @@ -1,5 +1,6 @@ package WayofTime.bloodmagic.compat.jei.altar; +import WayofTime.bloodmagic.api.orb.IBloodOrb; import WayofTime.bloodmagic.api.registry.AltarRecipeRegistry; import net.minecraft.item.ItemStack; @@ -20,9 +21,9 @@ public class AltarRecipeMaker for (Map.Entry itemStackAltarRecipeEntry : altarMap.entrySet()) { - if (itemStackAltarRecipeEntry.getValue().getOutput() != null) + if (!(itemStackAltarRecipeEntry.getKey().getItem() instanceof IBloodOrb)) { - // Make sure output is not null. If it is, the recipe is for a filling orb, and we don't want that. + // Make sure input is not a Blood Orb. If it is, the recipe is for a filling orb, and we don't want that. ItemStack input = itemStackAltarRecipeEntry.getKey(); ItemStack output = itemStackAltarRecipeEntry.getValue().getOutput(); int requiredTier = itemStackAltarRecipeEntry.getValue().getMinTier().toInt();