From a2d26409f702f712525260ab6eddcfc49cf58d50 Mon Sep 17 00:00:00 2001 From: md_5 Date: Fri, 12 Jun 2015 15:30:12 +1000 Subject: SPIGOT-970, MC-80484: Disallow NBT pick block on chests. --- nms-patches/TileEntityChest.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'nms-patches/TileEntityChest.patch') 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]; -- cgit v1.2.3