mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-16 16:03:40 +01:00
Fix deployer can eat, part 2
This commit is contained in:
parent
485e6c529d
commit
282445d2ac
1 changed files with 0 additions and 2 deletions
|
@ -266,8 +266,6 @@ public class DeployerHandler {
|
||||||
CompoundNBT tag = stack.getOrCreateTag();
|
CompoundNBT tag = stack.getOrCreateTag();
|
||||||
if (stack.getItem() instanceof SandPaperItem && tag.contains("Polishing"))
|
if (stack.getItem() instanceof SandPaperItem && tag.contains("Polishing"))
|
||||||
player.spawnedItemEffects = ItemStack.read(tag.getCompound("Polishing"));
|
player.spawnedItemEffects = ItemStack.read(tag.getCompound("Polishing"));
|
||||||
if (stack.isFood())
|
|
||||||
player.spawnedItemEffects = stack.copy();
|
|
||||||
|
|
||||||
if (!player.getActiveItemStack().isEmpty())
|
if (!player.getActiveItemStack().isEmpty())
|
||||||
player.setHeldItem(hand, stack.onItemUseFinish(world, player));
|
player.setHeldItem(hand, stack.onItemUseFinish(world, player));
|
||||||
|
|
Loading…
Reference in a new issue