Skip to content

Commit

Permalink
Fix altar recipe input checks
Browse files Browse the repository at this point in the history
  • Loading branch information
ACGaming committed Oct 5, 2024
1 parent 5a353b0 commit d9c807c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/mod/emt/harkenscythe/init/HSAltarRecipes.java
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public static boolean isValidInputSoul(ItemStack input)
{
for (HSRecipeSoulAltar recipe : SOUL_ALTAR_RECIPES)
{
if (recipe.getInput().isItemEqual(input))
if (recipe.getInput().getItem() == input.getItem())
{
return true;
}
Expand All @@ -164,7 +164,7 @@ public static int getRequiredSouls(ItemStack input)
{
for (HSRecipeSoulAltar recipe : SOUL_ALTAR_RECIPES)
{
if (recipe.getInput().isItemEqual(input))
if (recipe.getInput().getItem() == input.getItem())
{
return recipe.getRequiredSouls();
}
Expand Down

0 comments on commit d9c807c

Please sign in to comment.