fix relative path resolution in build script (#2390). Thanks to Fourmisain

This commit is contained in:
Fourmisain 2021-05-06 12:27:24 +02:00 committed by GitHub
parent e20ff0e8b7
commit 30769be822
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -325,7 +325,7 @@ task compileRecipes {
recipe.type = "minecraft:blasting"
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)))
}
}