Fix for Scanner

being derp when looking @ pollution
This commit is contained in:
Daniel 2016-10-30 11:09:24 +01:00 committed by GitHub
parent ed724da44d
commit b3ed735ef2

View file

@ -1754,7 +1754,7 @@ public class GT_Utility {
tList.add("Oil in Chunk: " + tFluid.amount + " " + tFluid.getLocalizedName());
}
// if(aPlayer.capabilities.isCreativeMode){
ChunkPosition tPos = new ChunkPosition(aX/16, 1, aZ/16);
ChunkPosition tPos = new ChunkPosition(aX>>4, 1, aZ>>4);
if(GT_Proxy.chunkData.containsKey(tPos)){
int[] tPollution = GT_Proxy.chunkData.get(tPos);
if(tPollution.length>1){