Make sure Recipe-Advancements have the proper parent
This commit is contained in:
parent
460b7333d8
commit
98d49997fd
1 changed files with 2 additions and 2 deletions
|
@ -118,10 +118,10 @@ public class AdvancementManager {
|
|||
ResourceLocation ID;
|
||||
if (type == AdvancementType.RECIPE_DECORATIONS) {
|
||||
ID = new ResourceLocation(id.getNamespace(), "recipes/decorations/" + id.getPath());
|
||||
//builder.parent(RECIPES_ROOT); //will be root by default
|
||||
builder.parent(RECIPES_ROOT); //will be root by default
|
||||
} else if (type == AdvancementType.RECIPE_TOOL) {
|
||||
ID = new ResourceLocation(id.getNamespace(), "recipes/tools/" + id.getPath());
|
||||
//builder.parent(RECIPES_ROOT); //will be root by default
|
||||
builder.parent(RECIPES_ROOT); //will be root by default
|
||||
} else {
|
||||
ID = id;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue