PaperMC/paper-server/nms-patches/ItemBlock.patch
CraftBukkit/Spigot dc3f10a9a0 SPIGOT-1288: Sounds played for cancelled BlockPlaceEvent
By: md_5 <git@md-5.net>
2016-06-30 15:39:58 +10:00

11 lines
578 B
Diff

--- a/net/minecraft/server/ItemBlock.java
+++ b/net/minecraft/server/ItemBlock.java
@@ -36,7 +36,7 @@
SoundEffectType soundeffecttype = this.a.w();
- world.a(entityhuman, blockposition, soundeffecttype.e(), SoundCategory.BLOCKS, (soundeffecttype.a() + 1.0F) / 2.0F, soundeffecttype.b() * 0.8F);
+ // world.a(entityhuman, blockposition, soundeffecttype.e(), SoundCategory.BLOCKS, (soundeffecttype.a() + 1.0F) / 2.0F, soundeffecttype.b() * 0.8F); // CraftBukkit - SPIGOT-1288
--itemstack.count;
}