From e2a288c863b383397057b742e9289bc4c31e44d1 Mon Sep 17 00:00:00 2001
From: md_5 <git@md-5.net>
Date: Wed, 28 Dec 2016 14:23:52 +1100
Subject: [PATCH] SPIGOT-2969: Shulker box removal not updating comparators

---
 nms-patches/BlockShulkerBox.patch | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/nms-patches/BlockShulkerBox.patch b/nms-patches/BlockShulkerBox.patch
index 7799d7d9ab..e292c35ef6 100644
--- a/nms-patches/BlockShulkerBox.patch
+++ b/nms-patches/BlockShulkerBox.patch
@@ -52,3 +52,13 @@
              TileEntityShulkerBox tileentityshulkerbox = (TileEntityShulkerBox) tileentity;
  
              if (!tileentityshulkerbox.r() && tileentityshulkerbox.F()) {
+@@ -123,8 +148,8 @@
+                 a(world, blockposition, itemstack);
+             }
+ 
+-            world.updateAdjacentComparators(blockposition, iblockdata.getBlock());
+         }
++        world.updateAdjacentComparators(blockposition, iblockdata.getBlock()); // CraftBukkit - moved down
+ 
+         super.remove(world, blockposition, iblockdata);
+     }