summaryrefslogtreecommitdiffstats
path: root/nms-patches
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2016-12-28 14:23:52 +1100
committermd_5 <git@md-5.net>2016-12-28 14:23:52 +1100
commite2a288c863b383397057b742e9289bc4c31e44d1 (patch)
tree9ad590a46b42e9457021d5ddbb9c72b4755afe7e /nms-patches
parent70bc70b4eefbf98cc624d693ffc4984c64360393 (diff)
downloadcraftbukkit-e2a288c863b383397057b742e9289bc4c31e44d1.tar
craftbukkit-e2a288c863b383397057b742e9289bc4c31e44d1.tar.gz
craftbukkit-e2a288c863b383397057b742e9289bc4c31e44d1.tar.lz
craftbukkit-e2a288c863b383397057b742e9289bc4c31e44d1.tar.xz
craftbukkit-e2a288c863b383397057b742e9289bc4c31e44d1.zip
SPIGOT-2969: Shulker box removal not updating comparators
Diffstat (limited to 'nms-patches')
-rw-r--r--nms-patches/BlockShulkerBox.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/nms-patches/BlockShulkerBox.patch b/nms-patches/BlockShulkerBox.patch
index 7799d7d9..e292c35e 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);
+ }