Fixes #1011 skip null values
This commit is contained in:
parent
ad16550a86
commit
c53b3b5dfc
1 changed files with 2 additions and 2 deletions
|
@ -76,8 +76,8 @@ public class OreHelper
|
|||
|
||||
for ( String ore : OreDictionary.getOreNames() )
|
||||
{
|
||||
// skip ore if it is a match already.
|
||||
if ( toAdd.contains( ore ) )
|
||||
// skip ore if it is a match already or null.
|
||||
if ( ore == null || toAdd.contains( ore ) )
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue