good job breaking it, hero

This commit is contained in:
Ellpeck 2017-06-29 21:00:34 +02:00
parent c6499a19c3
commit de60180298

View file

@ -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;
}
/*