Revert "Pollution fix?"

This reverts commit c1120bf1fa.
This commit is contained in:
Technus 2016-10-23 22:01:11 +02:00
parent c1120bf1fa
commit e4fd14304d

View file

@ -56,13 +56,7 @@ public class GT_Pollution {
if(!GT_Proxy.chunkData.containsKey(tNPos)){ if(!GT_Proxy.chunkData.containsKey(tNPos)){
GT_Utility.getUndergroundOil(aWorld,tPos.chunkPosX,tPos.chunkPosZ); GT_Utility.getUndergroundOil(aWorld,tPos.chunkPosX,tPos.chunkPosZ);
} }
int tNPol; int tNPol = GT_Proxy.chunkData.get(tNPos)[1];
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];
}
if(tNPol*12 < tPollution*10){ if(tNPol*12 < tPollution*10){
int tDiff = tPollution - tNPol; int tDiff = tPollution - tNPol;
tDiff = tDiff/20; tDiff = tDiff/20;