Fix shears not playing a breakage sound (#8600)

This commit is contained in:
cech12 authored and GitHub committed 2022-05-03 19:17:05 +01:00
1 parent bc0d7179cc
commit 9e6e789b73
1 file changed
+1 -1
@@ -17,7 +17,7 @@
+ net.minecraft.world.entity.item.ItemEntity ent = entity.m_5552_(d, 1.0F);
+ ent.m_20256_(ent.m_20184_().m_82520_((double)((rand.nextFloat() - rand.nextFloat()) * 0.1F), (double)(rand.nextFloat() * 0.05F), (double)((rand.nextFloat() - rand.nextFloat()) * 0.1F)));
+ });
+ stack.m_41622_(1, entity, e -> e.m_21190_(hand));
+ stack.m_41622_(1, playerIn, e -> e.m_21190_(hand));
+ }
+ return net.minecraft.world.InteractionResult.SUCCESS;
+ }