Merge pull request #1425 from dschub/oredict-fmp
Fix crash when mining BlockMultipart with Atomic Disassembler
This commit is contained in:
commit
28766f0da3
1 changed files with 5 additions and 0 deletions
|
@ -20,6 +20,11 @@ public final class OreDictCache
|
|||
|
||||
public static List<String> getOreDictName(ItemStack check)
|
||||
{
|
||||
if (check == null || check.getItem() == null)
|
||||
{
|
||||
return new ArrayList<String>();
|
||||
}
|
||||
|
||||
ItemInfo info = ItemInfo.get(check);
|
||||
|
||||
if(cachedKeys.get(info) != null)
|
||||
|
|
Loading…
Reference in a new issue