Hopefully fixed a Miner Bug

This commit is contained in:
canitzp 2016-02-18 18:43:35 +01:00
parent 57c37cb900
commit 8be363ba08

View file

@ -126,6 +126,7 @@ public class TileEntityMiner extends TileEntityInventoryBase implements IEnergyR
} }
private boolean isMinable(Block block, int meta){ private boolean isMinable(Block block, int meta){
if(block != null){
if(!this.isBlacklisted(block)){ if(!this.isBlacklisted(block)){
if(!this.onlyMineOres){ if(!this.onlyMineOres){
return true; return true;
@ -149,6 +150,8 @@ public class TileEntityMiner extends TileEntityInventoryBase implements IEnergyR
} }
} }
} }
}
return false; return false;
} }