return (IPeripheral)tile;
}
}
if(tile instanceof LogisticsTileGenericPipe) {
if(((LogisticsTileGenericPipe)tile).pipe == null) return null;
return new LPPeripheralTilePipeWrapper((LogisticsTileGenericPipe)tile, ForgeDirection.VALID_DIRECTIONS[side]);
}
return null;
}