From 8a04072e872669780e2466a8f662463693b1fa25 Mon Sep 17 00:00:00 2001 From: md_5 Date: Sun, 20 Jun 2021 08:38:01 +1000 Subject: [PATCH] SPIGOT-6583: Throwing eggs doesn't make sounds --- nms-patches/net/minecraft/world/item/ItemEgg.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nms-patches/net/minecraft/world/item/ItemEgg.patch b/nms-patches/net/minecraft/world/item/ItemEgg.patch index a43d02d47..80b3634fa 100644 --- a/nms-patches/net/minecraft/world/item/ItemEgg.patch +++ b/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) {