From e1f1b1af9fd064a9297af793881575e99fbd0206 Mon Sep 17 00:00:00 2001 From: reidbhuntley Date: Fri, 21 May 2021 13:21:05 -0400 Subject: [PATCH] Clean up gantry fix --- .../content/contraptions/relays/advanced/GantryShaftBlock.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/simibubi/create/content/contraptions/relays/advanced/GantryShaftBlock.java b/src/main/java/com/simibubi/create/content/contraptions/relays/advanced/GantryShaftBlock.java index e468327dd..19a563c35 100644 --- a/src/main/java/com/simibubi/create/content/contraptions/relays/advanced/GantryShaftBlock.java +++ b/src/main/java/com/simibubi/create/content/contraptions/relays/advanced/GantryShaftBlock.java @@ -98,7 +98,7 @@ public class GantryShaftBlock extends DirectionalKineticBlock { return state; boolean connect = AllBlocks.GANTRY_SHAFT.has(neighbour) && neighbour.get(FACING) == facing; - Part part = state.get(PART), prevPart = part; + Part part = state.get(PART); if (direction.getAxisDirection() == facing.getAxisDirection()) { if (connect) { if (part == Part.END)