Actually allow pollution go down to 0

This commit is contained in:
Blood-Asp 2017-03-08 18:14:33 +01:00
parent 48d7a1ee5d
commit cbb96f9c8a

View file

@ -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();
@ -133,7 +133,6 @@ public class GT_Pollution {
}}}} }}}}
} }
} }
}
}} }}
} }