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.
|
||||
*/
|
||||
public static void addRecipe(int j, IRecipe rec){
|
||||
if(rec.getRegistryName() == null){
|
||||
RECIPE_LIST.add(rec.setRegistryName(new ResourceLocation(MODID, "recipes"+j)));
|
||||
}
|
||||
else{
|
||||
RECIPE_LIST.add(rec);
|
||||
}
|
||||
addRecipe("recipes"+j, rec);
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -48,6 +43,7 @@ public final class RecipeHelper{
|
|||
else{
|
||||
RECIPE_LIST.add(rec);
|
||||
}
|
||||
RecipeHandler.lastRecipe = rec;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue