Re-add chunk checks...whoops!

This commit is contained in:
Aidan C. Brady 2014-02-17 21:12:33 -05:00
parent b3f9c48afe
commit 74e14284c7

View file

@ -55,6 +55,11 @@ public class ThreadMinerSearch extends Thread
continue; continue;
} }
if(!tileEntity.worldObj.getChunkProvider().chunkExists(x >> 4, z >> 4))
{
continue;
}
if(tileEntity.worldObj.getBlockTileEntity(x, y, z) instanceof IBoundingBlock) if(tileEntity.worldObj.getBlockTileEntity(x, y, z) instanceof IBoundingBlock)
{ {
continue; continue;