Merge pull request #546 from perkinslr/experimental

Fix 'cannot find symbol' error in AdvMiner2
This commit is contained in:
Blood-Asp 2016-06-29 00:23:44 +02:00 committed by GitHub
commit 22525fd6e8

View file

@ -132,13 +132,15 @@ public class GT_MetaTileEntity_AdvMiner2 extends GT_MetaTileEntity_MultiBlockBas
}
}
ArrayList<ItemStack> tDrops = new ArrayList();
if (!mMineList.isEmpty()) {
Block tMineBlock = null;
ChunkPosition mle = null;;
while ((tMineBlock==null || tMineBlock == Blocks.air) && !mMineList.isEmpty()) {
ChunkPosition mle = mMineList.get(0);
mle = mMineList.get(0);
mMineList.remove(0);
tMineBlock = getBaseMetaTileEntity().getBlockOffset(mle.chunkPosX, mle.chunkPosY, mle.chunkPosZ);
}
if (tMineBlock!=null && tMineBlock!=Blocks.air) {
int metadata = getBaseMetaTileEntity().getMetaIDOffset(mle.chunkPosX, mle.chunkPosY, mle.chunkPosZ);
boolean silkTouch = tMineBlock.canSilkHarvest(getBaseMetaTileEntity().getWorld(), null, mle.chunkPosX, mle.chunkPosY, mle.chunkPosZ, metadata);
if (silkTouch){