mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 19:49:35 +01:00
SPIGOT-2969: Shulker box removal not updating comparators
By: md_5 <git@md-5.net>
This commit is contained in:
parent
93623ce896
commit
0779610d64
1 changed files with 10 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue