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