mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-10 02:07:37 +01:00
SPIGOT-6583: Throwing eggs doesn't make sounds
By: md_5 <git@md-5.net>
This commit is contained in:
parent
bcaff2755a
commit
64174260d1
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user