summaryrefslogtreecommitdiffstats
path: root/nms-patches/TileEntityChest.patch
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2015-06-12 15:30:12 +1000
committermd_5 <git@md-5.net>2015-06-12 15:30:16 +1000
commita2d26409f702f712525260ab6eddcfc49cf58d50 (patch)
treec48df04d1026a6f1d84e40f999c55619ad67f937 /nms-patches/TileEntityChest.patch
parentb023c53e0312bb0e2224cd0405728b3a66f86bd5 (diff)
downloadcraftbukkit-a2d26409f702f712525260ab6eddcfc49cf58d50.tar
craftbukkit-a2d26409f702f712525260ab6eddcfc49cf58d50.tar.gz
craftbukkit-a2d26409f702f712525260ab6eddcfc49cf58d50.tar.lz
craftbukkit-a2d26409f702f712525260ab6eddcfc49cf58d50.tar.xz
craftbukkit-a2d26409f702f712525260ab6eddcfc49cf58d50.zip
SPIGOT-970, MC-80484: Disallow NBT pick block on chests.
Diffstat (limited to 'nms-patches/TileEntityChest.patch')
-rw-r--r--nms-patches/TileEntityChest.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/nms-patches/TileEntityChest.patch b/nms-patches/TileEntityChest.patch
index 38bebf99..605ced78 100644
--- a/nms-patches/TileEntityChest.patch
+++ b/nms-patches/TileEntityChest.patch
@@ -100,3 +100,18 @@
this.world.applyPhysics(this.position, this.w());
this.world.applyPhysics(this.position.down(), this.w());
}
+@@ -370,6 +425,14 @@
+
+ }
+
++ // CraftBukkit start
++ // PAIL
++ @Override
++ public boolean F() {
++ return true;
++ }
++ // CraftBukkit end
++
+ static class SyntheticClass_1 {
+
+ static final int[] a = new int[EnumDirection.values().length];