From 2d04c8786596633b9adf415454add9ef1d92a8b1 Mon Sep 17 00:00:00 2001 From: Prusias Date: Tue, 7 Jul 2020 11:04:25 +0200 Subject: [PATCH] Fixes issue 388, When placing a casing or shaft on a active belt it creates a looping power source. This is avoided by using KineticTileEntity.switchToBlockState, which safely modifies the kinetic network. --- .../content/contraptions/relays/belt/BeltBlock.java | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/simibubi/create/content/contraptions/relays/belt/BeltBlock.java b/src/main/java/com/simibubi/create/content/contraptions/relays/belt/BeltBlock.java index 62ad662e1..9ff6242bc 100644 --- a/src/main/java/com/simibubi/create/content/contraptions/relays/belt/BeltBlock.java +++ b/src/main/java/com/simibubi/create/content/contraptions/relays/belt/BeltBlock.java @@ -5,6 +5,7 @@ import java.util.Collections; import java.util.LinkedList; import java.util.List; +import com.simibubi.create.content.contraptions.base.KineticTileEntity; import org.apache.commons.lang3.mutable.MutableInt; import com.simibubi.create.AllBlocks; @@ -266,8 +267,9 @@ public class BeltBlock extends HorizontalKineticBlock implements ITE