From 64174260d1ccf7c86c28389cafe269f70ae19dd3 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Sun, 20 Jun 2021 08:38:01 +1000 Subject: [PATCH] SPIGOT-6583: Throwing eggs doesn't make sounds By: md_5 --- paper-server/nms-patches/net/minecraft/world/item/ItemEgg.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper-server/nms-patches/net/minecraft/world/item/ItemEgg.patch b/paper-server/nms-patches/net/minecraft/world/item/ItemEgg.patch index a43d02d471..80b3634faf 100644 --- a/paper-server/nms-patches/net/minecraft/world/item/ItemEgg.patch +++ b/paper-server/nms-patches/net/minecraft/world/item/ItemEgg.patch @@ -21,7 +21,7 @@ + } + // CraftBukkit end } -+ // world.playSound((EntityHuman) null, entityhuman.locX(), entityhuman.locY(), entityhuman.locZ(), SoundEffects.EGG_THROW, SoundCategory.PLAYERS, 0.5F, 0.4F / (world.getRandom().nextFloat() * 0.4F + 0.8F)); // CraftBukkit - from above ++ world.playSound((EntityHuman) null, entityhuman.locX(), entityhuman.locY(), entityhuman.locZ(), SoundEffects.EGG_THROW, SoundCategory.PLAYERS, 0.5F, 0.4F / (world.getRandom().nextFloat() * 0.4F + 0.8F)); entityhuman.b(StatisticList.ITEM_USED.b(this)); if (!entityhuman.getAbilities().instabuild) {