setActive(false);
}
placeRail = false;
} else if (TrackTools.isRailBlockAt(worldObj, x, y, z)) {
if (!dir.isEqual(TrackTools.getTrackMeta(worldObj, this, x, y, z))) {
worldObj.setBlockMetadataWithNotify(x, y, z, dir.ordinal(), 3);
setDelay(STANDARD_DELAY);
}
} else if (worldObj.isAirBlock(x, y, z) || replaceableBlocks.contains(worldObj.getBlock(x, y, z))) {
placeRail = true;
setDelay(STANDARD_DELAY);