Fixed a crash
This commit is contained in:
parent
0e51852baa
commit
69624715ec
2 changed files with 1 additions and 2 deletions
|
@ -225,7 +225,6 @@ public class BlockMachine extends BlockContainer implements ISpecialBounds, IPer
|
|||
icons[3][3] = register.registerIcon("mekanism:OredictionificatorSide");
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -370,7 +370,7 @@ public class TileEntityDigitalMiner extends TileEntityElectricBlock implements I
|
|||
else {
|
||||
MinerFilter filter = replaceMap.get(index);
|
||||
|
||||
if(filter.replaceStack == null || !filter.requireStack)
|
||||
if(filter == null || (filter.replaceStack == null || !filter.requireStack))
|
||||
{
|
||||
worldObj.setBlockToAir(obj.xCoord, obj.yCoord, obj.zCoord);
|
||||
|
||||
|
|
Loading…
Reference in a new issue