From cc89e15b5bc712608f5591f0b69feaa7ca427be7 Mon Sep 17 00:00:00 2001 From: Blood-Asp Date: Sun, 1 Nov 2015 13:46:35 +0100 Subject: [PATCH] Fix Seismic prospection without ores failing --- .../machines/basic/GT_MetaTileEntity_SeismicProspector.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/gregtech/common/tileentities/machines/basic/GT_MetaTileEntity_SeismicProspector.java b/src/main/java/gregtech/common/tileentities/machines/basic/GT_MetaTileEntity_SeismicProspector.java index 5af6e69c..344db4a6 100644 --- a/src/main/java/gregtech/common/tileentities/machines/basic/GT_MetaTileEntity_SeismicProspector.java +++ b/src/main/java/gregtech/common/tileentities/machines/basic/GT_MetaTileEntity_SeismicProspector.java @@ -82,6 +82,7 @@ public class GT_MetaTileEntity_SeismicProspector extends GT_MetaTileEntity_Basic } } } + if(tStringList.size()<1){tStringList.add("No Ores found.");} FluidStack tFluid = GT_Utility.getUndergroundOil(getBaseMetaTileEntity().getWorld(), getBaseMetaTileEntity().getXCoord(), getBaseMetaTileEntity().getZCoord()); String[] tStringArray = new String[tStringList.size()]; {