mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-23 11:06:29 +01:00
SPIGOT-2969: Shulker box removal not updating comparators
This commit is contained in:
parent
70bc70b4ee
commit
e2a288c863
@ -52,3 +52,13 @@
|
|||||||
TileEntityShulkerBox tileentityshulkerbox = (TileEntityShulkerBox) tileentity;
|
TileEntityShulkerBox tileentityshulkerbox = (TileEntityShulkerBox) tileentity;
|
||||||
|
|
||||||
if (!tileentityshulkerbox.r() && tileentityshulkerbox.F()) {
|
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);
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user