summaryrefslogtreecommitdiffstats
path: root/nms-patches/EntityItemFrame.patch
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2018-12-06 10:00:00 +1100
committermd_5 <git@md-5.net>2018-12-06 10:00:00 +1100
commitaa36c8417bda9bdd4812c6094895677654cff83d (patch)
treef28adbc34ebef8ef5816c95597927b4c72ba2797 /nms-patches/EntityItemFrame.patch
parent20fc5bea2c51de8d5239b68d83e878896b8ff505 (diff)
downloadcraftbukkit-aa36c8417bda9bdd4812c6094895677654cff83d.tar
craftbukkit-aa36c8417bda9bdd4812c6094895677654cff83d.tar.gz
craftbukkit-aa36c8417bda9bdd4812c6094895677654cff83d.tar.lz
craftbukkit-aa36c8417bda9bdd4812c6094895677654cff83d.tar.xz
craftbukkit-aa36c8417bda9bdd4812c6094895677654cff83d.zip
Mappings Update
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 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);