mirror of
https://github.com/Creators-of-Create/Create.git
synced 2025-01-28 22:05:01 +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);
|
FoodProperties foodProperties = item.getFoodProperties(stack, player);
|
||||||
if (playerEntity.canEat(foodProperties.canAlwaysEat())) {
|
if (playerEntity.canEat(foodProperties.canAlwaysEat())) {
|
||||||
ItemStack copy = stack.copy();
|
ItemStack copy = stack.copy();
|
||||||
playerEntity.eat(world, stack);
|
player.setItemInHand(hand, stack.finishUsingItem(world, playerEntity));
|
||||||
player.spawnedItemEffects = copy;
|
player.spawnedItemEffects = copy;
|
||||||
success = true;
|
success = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue