Skip to content

Commit

Permalink
Resolve issue #65 by passing the correct item stack into the assemble…
Browse files Browse the repository at this point in the history
… method for dissolve recipes
  • Loading branch information
hjake123 committed Oct 15, 2024
1 parent a21aeac commit a068b2a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ private static boolean tryDissolveWithByproduct(Level level, BlockPos pos, ItemS
ItemStack reactant = stack.copy();
reactant.setCount(count);
level.addFreshEntity(new ItemEntity(level, pos.getX() + 0.5, pos.getY()+0.6, pos.getZ() + 0.5,
recipe.assemble(CrucibleRecipeInput.of(stack), level.registryAccess())));
recipe.assemble(CrucibleRecipeInput.of(reactant), level.registryAccess())));
return true;
}
}
Expand Down

0 comments on commit a068b2a

Please sign in to comment.