Bowl foods deployer fix

This commit is contained in:
jetpacker06 2025-01-13 21:32:17 -06:00
parent 3a8ad11789
commit d16919a33b

View file

@ -185,7 +185,7 @@ public class DeployerHandler {
FoodProperties foodProperties = item.getFoodProperties(stack, player);
if (playerEntity.canEat(foodProperties.canAlwaysEat())) {
ItemStack copy = stack.copy();
playerEntity.eat(world, stack);
player.setItemInHand(hand, stack.finishUsingItem(world, playerEntity));
player.spawnedItemEffects = copy;
success = true;
}