mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-11-10 20:45:10 +01:00
Fix deployer can eat, part 2
This commit is contained in:
parent
485e6c529d
commit
282445d2ac
@ -266,8 +266,6 @@ public class DeployerHandler {
|
||||
CompoundNBT tag = stack.getOrCreateTag();
|
||||
if (stack.getItem() instanceof SandPaperItem && tag.contains("Polishing"))
|
||||
player.spawnedItemEffects = ItemStack.read(tag.getCompound("Polishing"));
|
||||
if (stack.isFood())
|
||||
player.spawnedItemEffects = stack.copy();
|
||||
|
||||
if (!player.getActiveItemStack().isEmpty())
|
||||
player.setHeldItem(hand, stack.onItemUseFinish(world, player));
|
||||
|
Loading…
Reference in New Issue
Block a user