SPIGOT-2969: Shulker box removal not updating comparators

This commit is contained in:
md_5 2016-12-28 14:23:52 +11:00
parent 70bc70b4ee
commit e2a288c863

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