From e4fd14304ddb14eaa4f26f15db17f094a43e3ddc Mon Sep 17 00:00:00 2001 From: Technus Date: Sun, 23 Oct 2016 22:01:11 +0200 Subject: [PATCH] Revert "Pollution fix?" This reverts commit c1120bf1faa6a0ac6746bc494d2982eb8772e8e4. --- src/main/java/gregtech/common/GT_Pollution.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/main/java/gregtech/common/GT_Pollution.java b/src/main/java/gregtech/common/GT_Pollution.java index fac76aff..c6fc5942 100644 --- a/src/main/java/gregtech/common/GT_Pollution.java +++ b/src/main/java/gregtech/common/GT_Pollution.java @@ -56,13 +56,7 @@ public class GT_Pollution { if(!GT_Proxy.chunkData.containsKey(tNPos)){ GT_Utility.getUndergroundOil(aWorld,tPos.chunkPosX,tPos.chunkPosZ); } - int tNPol; - try { - tNPol = GT_Proxy.chunkData.get(tNPos)[1]; - }catch(Exception e){ - GT_Utility.getUndergroundOil(aWorld,tPos.chunkPosX,tPos.chunkPosZ); - tNPol = GT_Proxy.chunkData.get(tNPos)[1]; - } + int tNPol = GT_Proxy.chunkData.get(tNPos)[1]; if(tNPol*12 < tPollution*10){ int tDiff = tPollution - tNPol; tDiff = tDiff/20;