mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-26 00:38:35 +01:00
This makes more sense.
This commit is contained in:
parent
12de298057
commit
e944ef6bbf
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ public class TileEntityMiner extends TileEntityInventoryBase implements IEnergyR
|
|||
}
|
||||
else{
|
||||
ItemStack stack = new ItemStack(block, 1, meta);
|
||||
if(stack != null){
|
||||
if(stack.getItem() != null){
|
||||
int[] ids = OreDictionary.getOreIDs(stack);
|
||||
for(int id : ids){
|
||||
String name = OreDictionary.getOreName(id);
|
||||
|
|
Loading…
Reference in a new issue