mirror of
https://github.com/Creators-of-Create/Create.git
synced 2025-01-27 13:28:00 +01:00
Bowl foods deployer fix
This commit is contained in:
parent
3a8ad11789
commit
d16919a33b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue