1
0
mirror of https://github.com/shadowfacts/SimpleMultipart.git synced 2025-02-05 08:41:25 +00:00

Fix incorrect neighbor updating

This commit is contained in:
Shadowfacts 2019-01-07 20:46:05 -05:00
parent 3a35118bb9
commit db8d4e2651
Signed by: shadowfacts
GPG Key ID: 94A5AB95422746E5

View File

@ -193,7 +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);
world.updateNeighbors(pos, blockState.getBlock());
}
private List<ItemStack> getDroppedStacks(Entry e, ServerWorld world, BlockPos pos) {