mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 07:13:28 +01:00
good job breaking it, hero
This commit is contained in:
parent
c6499a19c3
commit
de60180298
1 changed files with 2 additions and 6 deletions
|
@ -30,12 +30,7 @@ public final class RecipeHelper{
|
||||||
* This adds the recipe to the list of crafting recipes. Since who cares about names, it adds it as recipesX, where X is the current recipe you are adding.
|
* This adds the recipe to the list of crafting recipes. Since who cares about names, it adds it as recipesX, where X is the current recipe you are adding.
|
||||||
*/
|
*/
|
||||||
public static void addRecipe(int j, IRecipe rec){
|
public static void addRecipe(int j, IRecipe rec){
|
||||||
if(rec.getRegistryName() == null){
|
addRecipe("recipes"+j, rec);
|
||||||
RECIPE_LIST.add(rec.setRegistryName(new ResourceLocation(MODID, "recipes"+j)));
|
|
||||||
}
|
|
||||||
else{
|
|
||||||
RECIPE_LIST.add(rec);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -48,6 +43,7 @@ public final class RecipeHelper{
|
||||||
else{
|
else{
|
||||||
RECIPE_LIST.add(rec);
|
RECIPE_LIST.add(rec);
|
||||||
}
|
}
|
||||||
|
RecipeHandler.lastRecipe = rec;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue