Clean up gantry fix

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

View file

@ -98,7 +98,7 @@ public class GantryShaftBlock extends DirectionalKineticBlock {
return state; return state;
boolean connect = AllBlocks.GANTRY_SHAFT.has(neighbour) && neighbour.get(FACING) == facing; 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 (direction.getAxisDirection() == facing.getAxisDirection()) {
if (connect) { if (connect) {
if (part == Part.END) if (part == Part.END)