Add a call to updateNeighborStates in updateWorld
This is needed for validating neighboring blocks with getStateForNeighborUpdate.
This commit is contained in:
parent
853ae82a5b
commit
30e8833b05
|
@ -193,6 +193,7 @@ public abstract class AbstractContainerBlockEntity extends BlockEntity implement
|
|||
world.scheduleBlockRender(pos);
|
||||
BlockState blockState = world.getBlockState(pos);
|
||||
world.updateListeners(pos, blockState, blockState, 3);
|
||||
blockState.updateNeighborStates(world, pos, 3);
|
||||
}
|
||||
|
||||
private List<ItemStack> getDroppedStacks(Entry e, ServerWorld world, BlockPos pos) {
|
||||
|
|
Loading…
Reference in New Issue