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 f28cedd2..19d54451 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 -@@ -97,6 +97,11 @@ +@@ -95,6 +95,11 @@ return false; } else if (!damagesource.isExplosion() && !this.getItem().isEmpty()) { if (!this.world.isClientSide) { @@ -12,7 +12,7 @@ this.b(damagesource.getEntity(), false); this.a(SoundEffects.ENTITY_ITEM_FRAME_REMOVE_ITEM, 1.0F, 1.0F); } -@@ -170,6 +175,12 @@ +@@ -168,6 +173,12 @@ } public void setItem(ItemStack itemstack, boolean flag) { @@ -25,7 +25,7 @@ if (!itemstack.isEmpty()) { itemstack = itemstack.cloneItemStack(); itemstack.setCount(1); -@@ -177,7 +188,7 @@ +@@ -175,7 +186,7 @@ } this.getDataWatcher().set(EntityItemFrame.e, itemstack); |