fix cache dir creation for mojmap
All checks were successful
Publish to snapshot maven / build (push) Successful in 41s
All checks were successful
Publish to snapshot maven / build (push) Successful in 41s
This commit is contained in:
parent
f90baaef1b
commit
811b4e3611
|
@ -8,7 +8,7 @@ plugins {
|
||||||
}
|
}
|
||||||
|
|
||||||
group = "dev.frogmc"
|
group = "dev.frogmc"
|
||||||
version = "0.0.1-alpha.10"
|
version = "0.0.1-alpha.11"
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
|
|
@ -49,6 +49,7 @@ public class MojmapProvider {
|
||||||
|
|
||||||
return HttpHelper.getString(mappingsUrl).map(s -> {
|
return HttpHelper.getString(mappingsUrl).map(s -> {
|
||||||
try {
|
try {
|
||||||
|
Files.createDirectories(cacheFile.getParent());
|
||||||
Files.writeString(cacheFile, s);
|
Files.writeString(cacheFile, s);
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
// TODO
|
// TODO
|
||||||
|
|
Loading…
Reference in a new issue