diff options
Diffstat (limited to 'nms-patches/EntityItemFrame.patch')
-rw-r--r-- | nms-patches/EntityItemFrame.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nms-patches/EntityItemFrame.patch b/nms-patches/EntityItemFrame.patch index 1859a974..6f6c7b25 100644 --- a/nms-patches/EntityItemFrame.patch +++ b/nms-patches/EntityItemFrame.patch @@ -1,6 +1,6 @@ --- a/net/minecraft/server/EntityItemFrame.java +++ b/net/minecraft/server/EntityItemFrame.java -@@ -27,6 +27,11 @@ +@@ -31,6 +31,11 @@ return false; } else if (!damagesource.isExplosion() && this.getItem() != null) { if (!this.world.isClientSide) { @@ -9,6 +9,6 @@ + return true; + } + // CraftBukkit end - this.a(damagesource.getEntity(), false); + this.b(damagesource.getEntity(), false); + this.a(SoundEffects.cR, 1.0F, 1.0F); this.setItem((ItemStack) null); - } |