Actually allow pollution go down to 0
This commit is contained in:
parent
48d7a1ee5d
commit
cbb96f9c8a
1 changed files with 1 additions and 2 deletions
|
@ -73,7 +73,7 @@ public class GT_Pollution {
|
||||||
//Reduce pollution in chunk
|
//Reduce pollution in chunk
|
||||||
tPollution = (int)(0.99f*tPollution);
|
tPollution = (int)(0.99f*tPollution);
|
||||||
tPollution -= 2000;
|
tPollution -= 2000;
|
||||||
if(tPollution<=0){tPollution = 0;}else{
|
if(tPollution<=0){tPollution = 0;}
|
||||||
//Spread Pollution
|
//Spread Pollution
|
||||||
if(tPollution>50000){
|
if(tPollution>50000){
|
||||||
List<ChunkPosition> tNeighbor = new ArrayList();
|
List<ChunkPosition> tNeighbor = new ArrayList();
|
||||||
|
@ -131,7 +131,6 @@ public class GT_Pollution {
|
||||||
int z =tPos.chunkPosZ<<4+(tRan.nextInt(16));
|
int z =tPos.chunkPosZ<<4+(tRan.nextInt(16));
|
||||||
damageBlock(x, y, z, tPollution > GT_Mod.gregtechproxy.mPollutionSourRainLimit);
|
damageBlock(x, y, z, tPollution > GT_Mod.gregtechproxy.mPollutionSourRainLimit);
|
||||||
}}}}
|
}}}}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
|
|
Loading…
Reference in a new issue