mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-12-26 21:09:23 +01:00
Stopped the Crusher from adding recipes that don't actually have an input
This commit is contained in:
parent
6f51795a01
commit
75917782d2
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ public class CrusherRecipeRegistry{
|
|||
String output = theCase.resultPreString+ore.substring(theCase.theCase.length());
|
||||
|
||||
if(!hasRecipe(ore)){
|
||||
if(!OreDictionary.getOres(output, false).isEmpty()){
|
||||
if(!OreDictionary.getOres(output, false).isEmpty() && !OreDictionary.getOres(ore, false).isEmpty()){
|
||||
addRecipe(ore, output, theCase.resultAmount);
|
||||
recipesAdded++;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue