Skip to content

Commit

Permalink
Fix cooking guide items is incorrectly consumed when applying guide c…
Browse files Browse the repository at this point in the history
…ontent directly on Blaze Stove by right click with guide.
  • Loading branch information
MarbleGateKeeper committed Dec 24, 2023
1 parent 3f4a81c commit 0bb3e85
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public static InteractionResultHolder<ItemStack> tryInsert(Level level, BlockPos
if (stack.getItem() instanceof BlazeStoveGuideItem<?>) {
var original = stove.getGuide();
if(!level.isClientSide()) {
ItemStack guide = stack.split(1);
ItemStack guide = stack.copy().split(1);
if (!simulate)
stove.setGuide(guide);
}
Expand Down

0 comments on commit 0bb3e85

Please sign in to comment.