From ff5984a48e87bc570736e1e0eeb8aec967e970b0 Mon Sep 17 00:00:00 2001 From: reidbhuntley Date: Fri, 21 May 2021 13:38:13 -0400 Subject: [PATCH] Prevent rail fix from allowing floating rails --- .../java/com/simibubi/create/foundation/utility/BlockHelper.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/simibubi/create/foundation/utility/BlockHelper.java b/src/main/java/com/simibubi/create/foundation/utility/BlockHelper.java index 321c39aa3..85d6baf8b 100644 --- a/src/main/java/com/simibubi/create/foundation/utility/BlockHelper.java +++ b/src/main/java/com/simibubi/create/foundation/utility/BlockHelper.java @@ -258,6 +258,7 @@ public class BlockHelper { world.markAndNotifyBlock(target, chunk, old, state, 82, 512); 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,