Prevent rail fix from allowing floating rails

This commit is contained in:
reidbhuntley 2021-05-21 13:38:13 -04:00
parent e1f1b1af9f
commit ff5984a48e

View file

@ -258,6 +258,7 @@ public class BlockHelper {
world.markAndNotifyBlock(target, chunk, old, state, 82, 512); world.markAndNotifyBlock(target, chunk, old, state, 82, 512);
world.setBlockState(target, state, 82); world.setBlockState(target, state, 82);
world.neighborChanged(target, world.getBlockState(target.down()).getBlock(), target.down());
} }
public static void placeSchematicBlock(World world, BlockState state, BlockPos target, ItemStack stack, public static void placeSchematicBlock(World world, BlockState state, BlockPos target, ItemStack stack,