Merge pull request #4419 from PlayerWithoutName/1.11

Fixed IllegalArgumentException in OreDictCache class
This commit is contained in:
Aidan authored and GitHub committed 2017-06-02 09:22:50 -07:00
commit 27181ab89b
1 file changed
+1 -1
@@ -18,7 +18,7 @@ public final class OreDictCache
public static List<String> getOreDictName(ItemStack check)
{
if(check == null || check.getItem() == null)
if(check.isEmpty())
{
return new ArrayList<String>();
}