SPIGOT-2969: Shulker box removal not updating comparators

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot 2016-12-28 14:23:52 +11:00
parent 93623ce896
commit 0779610d64

View file

@ -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);
}