Re-add chunk checks...whoops!
This commit is contained in:
parent
b3f9c48afe
commit
74e14284c7
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue