Add a call to updateNeighborStates in updateWorld

This is needed for validating neighboring blocks with getStateForNeighborUpdate.
This commit is contained in:
Juuxel 2019-01-06 11:01:51 +02:00
parent 853ae82a5b
commit 30e8833b05
1 changed files with 1 additions and 0 deletions

View File

@ -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) {