From d9a59f704e31a1a98a9cb248bdd9fd6b5b5e8c4b Mon Sep 17 00:00:00 2001 From: Snownee Date: Wed, 9 Dec 2020 21:40:44 +0800 Subject: [PATCH] Fix assembling contraption while no speed (https://discord.com/channels/620934202875183104/689866656914210897/767825162548019240) --- .../structureMovement/piston/LinearActuatorTileEntity.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/simibubi/create/content/contraptions/components/structureMovement/piston/LinearActuatorTileEntity.java b/src/main/java/com/simibubi/create/content/contraptions/components/structureMovement/piston/LinearActuatorTileEntity.java index 1a63715bb..603f5b5e6 100644 --- a/src/main/java/com/simibubi/create/content/contraptions/components/structureMovement/piston/LinearActuatorTileEntity.java +++ b/src/main/java/com/simibubi/create/content/contraptions/components/structureMovement/piston/LinearActuatorTileEntity.java @@ -78,8 +78,10 @@ public abstract class LinearActuatorTileEntity extends KineticTileEntity impleme else sendData(); return; + } else { + if (getSpeed() != 0) + assemble(); } - assemble(); return; }