From c8f0801486995910bf6451af31053c85fed36a40 Mon Sep 17 00:00:00 2001 From: Joshua Gwinn Date: Thu, 20 Feb 2014 00:25:17 -0700 Subject: [PATCH] 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. --- common/mekanism/common/tile/TileEntityDigitalMiner.java | 1 + 1 file changed, 1 insertion(+) diff --git a/common/mekanism/common/tile/TileEntityDigitalMiner.java b/common/mekanism/common/tile/TileEntityDigitalMiner.java index 725364f9e..52609367b 100644 --- a/common/mekanism/common/tile/TileEntityDigitalMiner.java +++ b/common/mekanism/common/tile/TileEntityDigitalMiner.java @@ -167,6 +167,7 @@ public class TileEntityDigitalMiner extends TileEntityElectricBlock implements I if(!coord.exists(worldObj)) { + toRemove.add(index); next = index + 1; continue; }