From 9d129d57b3b1d5ed2778802946dc8e63d4485552 Mon Sep 17 00:00:00 2001 From: Christian Mesh Date: Sun, 10 Sep 2017 12:39:22 -0400 Subject: [PATCH] Fix crossing placement --- .../cam72cam/immersiverailroading/track/BuilderCrossing.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/cam72cam/immersiverailroading/track/BuilderCrossing.java b/src/main/java/cam72cam/immersiverailroading/track/BuilderCrossing.java index 9c905e5a4..6d53dd35e 100644 --- a/src/main/java/cam72cam/immersiverailroading/track/BuilderCrossing.java +++ b/src/main/java/cam72cam/immersiverailroading/track/BuilderCrossing.java @@ -13,8 +13,10 @@ public class BuilderCrossing extends BuilderBase { public BuilderCrossing(RailInfo info, BlockPos pos) { super(info, pos); - tracks.add(new TrackGag(this, -1, 0, 0)); + this.setParentPos(new BlockPos(0, 0, 0)); + tracks.add(new TrackRail(this, 0, 0, 0, EnumFacing.NORTH, TrackItems.CROSSING, 3, info.quarter, info.placementPosition)); + tracks.add(new TrackGag(this, -1, 0, 0)); tracks.add(new TrackGag(this, 1, 0, 0)); tracks.add(new TrackGag(this, -1, 0, 1));