mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 23:28:35 +01:00
Remove unnecessary var
This commit is contained in:
parent
f35779db64
commit
4eb92a4e71
1 changed files with 1 additions and 3 deletions
|
@ -31,7 +31,6 @@ public class CrusherRecipeRegistry{
|
||||||
|
|
||||||
public static void registerFinally(){
|
public static void registerFinally(){
|
||||||
ArrayList<String> oresNoResult = new ArrayList<String>();
|
ArrayList<String> oresNoResult = new ArrayList<String>();
|
||||||
int recipesAdded = 0;
|
|
||||||
int recipeStartedAt = recipes.size();
|
int recipeStartedAt = recipes.size();
|
||||||
|
|
||||||
for(String ore : OreDictionary.getOreNames()){
|
for(String ore : OreDictionary.getOreNames()){
|
||||||
|
@ -44,7 +43,6 @@ public class CrusherRecipeRegistry{
|
||||||
if(!hasRecipe(ore)){
|
if(!hasRecipe(ore)){
|
||||||
if(!OreDictionary.getOres(output, false).isEmpty() && !OreDictionary.getOres(ore, false).isEmpty()){
|
if(!OreDictionary.getOres(output, false).isEmpty() && !OreDictionary.getOres(ore, false).isEmpty()){
|
||||||
addRecipe(ore, output, theCase.resultAmount);
|
addRecipe(ore, output, theCase.resultAmount);
|
||||||
recipesAdded++;
|
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
oresNoResult.add(ore);
|
oresNoResult.add(ore);
|
||||||
|
@ -63,7 +61,7 @@ public class CrusherRecipeRegistry{
|
||||||
CrusherRecipe recipe = recipes.get(i);
|
CrusherRecipe recipe = recipes.get(i);
|
||||||
addedRecipes.add(recipe.input+" -> "+recipe.outputOneAmount+"x "+recipe.outputOne);
|
addedRecipes.add(recipe.input+" -> "+recipe.outputOneAmount+"x "+recipe.outputOne);
|
||||||
}
|
}
|
||||||
ModUtil.LOGGER.info("Added "+recipesAdded+" Crusher Recipes automatically: "+addedRecipes.toString());
|
ModUtil.LOGGER.info("Added "+addedRecipes.size()+" Crusher Recipes automatically: "+addedRecipes.toString());
|
||||||
ModUtil.LOGGER.warn("Couldn't add "+oresNoResult.size()+" Crusher Recipes automatically because the inputs were missing outputs: "+oresNoResult.toString());
|
ModUtil.LOGGER.warn("Couldn't add "+oresNoResult.size()+" Crusher Recipes automatically because the inputs were missing outputs: "+oresNoResult.toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue