SPIGOT-1288: Sounds played for cancelled BlockPlaceEvent
By: md_5 <git@md-5.net>
This commit is contained in:
11
paper-server/nms-patches/ItemBlock.patch
Normal file
11
paper-server/nms-patches/ItemBlock.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- 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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user