fix relative path resolution in build script (#2390). Thanks to Fourmisain
This commit is contained in:
parent
e20ff0e8b7
commit
30769be822
1 changed files with 3 additions and 3 deletions
|
@ -325,7 +325,7 @@ task compileRecipes {
|
||||||
recipe.type = "minecraft:blasting"
|
recipe.type = "minecraft:blasting"
|
||||||
recipe.cookingtime = recipe.cookingtime / 2
|
recipe.cookingtime = recipe.cookingtime / 2
|
||||||
|
|
||||||
File output = new File(blastingPath, it.name)
|
File output = file(new File(blastingPath, it.name))
|
||||||
output.write(JsonOutput.prettyPrint(JsonOutput.toJson(recipe)))
|
output.write(JsonOutput.prettyPrint(JsonOutput.toJson(recipe)))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue