Remove blocks that are outside of loaded chunks from bitset list
Remove another potential source of unneeded calculations, if a digital miner is chunkloaded and chunks it is considering are outside of loaded chunks, they will be iterated through for each block mined.
This commit is contained in:
parent
37321040f4
commit
c8f0801486
|
@ -167,6 +167,7 @@ public class TileEntityDigitalMiner extends TileEntityElectricBlock implements I
|
|||
|
||||
if(!coord.exists(worldObj))
|
||||
{
|
||||
toRemove.add(index);
|
||||
next = index + 1;
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue