summaryrefslogtreecommitdiffstats
path: root/nms-patches/EntityItemFrame.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/EntityItemFrame.patch')
-rw-r--r--nms-patches/EntityItemFrame.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/nms-patches/EntityItemFrame.patch b/nms-patches/EntityItemFrame.patch
index f2cd4fa0..e15c81e4 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
-@@ -31,6 +31,11 @@
+@@ -97,6 +97,11 @@
return false;
} else if (!damagesource.isExplosion() && !this.getItem().isEmpty()) {
if (!this.world.isClientSide) {
@@ -10,5 +10,5 @@
+ }
+ // CraftBukkit end
this.b(damagesource.getEntity(), false);
- this.a(SoundEffects.du, 1.0F, 1.0F);
- this.setItem(ItemStack.a);
+ this.a(SoundEffects.ENTITY_ITEM_FRAME_REMOVE_ITEM, 1.0F, 1.0F);
+ }