Merge pull request #723 from DreamThorn/fix-721
Fix for NullPointerException when using Crucible.removeRecipe(String name)
This commit is contained in:
commit
4dc4570445
|
@ -87,7 +87,7 @@ public class Crucible {
|
|||
toRemove.add(entry.getKey());
|
||||
}
|
||||
}
|
||||
if(!output.isEmpty()) {
|
||||
if(output != null && !output.isEmpty()) {
|
||||
if(output.matches(InputHelper.toIItemStack(((CrucibleRecipe) entry.getValue()).getRecipeOutput()))) {
|
||||
toRemove.add(entry.getKey());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue