This commit is contained in:
paulevsGitch 2020-10-04 14:09:24 +03:00
parent 74992a7f68
commit 62698e8bf5
24 changed files with 64 additions and 30 deletions

View file

@ -65,7 +65,7 @@ public class EndRecipeManager {
}
public static <T extends Recipe<?>> RecipeType<T> registerType(String type) {
Identifier recipeTypeId = BetterEnd.getIdentifier(type);
Identifier recipeTypeId = BetterEnd.makeID(type);
return Registry.register(Registry.RECIPE_TYPE, recipeTypeId, new RecipeType<T>() {
public String toString() {
return type;