mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 04:52:25 +00:00
Fixed IllegalArgumentException in OreDictCache class
This commit is contained in:
1 parent
4335f4d2ab
commit
dfea471bff
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>();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user