mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-29 18:28:34 +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());
|
String output = theCase.resultPreString+ore.substring(theCase.theCase.length());
|
||||||
|
|
||||||
if(!hasRecipe(ore)){
|
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);
|
addRecipe(ore, output, theCase.resultAmount);
|
||||||
recipesAdded++;
|
recipesAdded++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue