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"
|
||||
version = "0.0.1-alpha.10"
|
||||
version = "0.0.1-alpha.11"
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
|
|
|
@ -49,6 +49,7 @@ public class MojmapProvider {
|
|||
|
||||
return HttpHelper.getString(mappingsUrl).map(s -> {
|
||||
try {
|
||||
Files.createDirectories(cacheFile.getParent());
|
||||
Files.writeString(cacheFile, s);
|
||||
} catch (IOException e) {
|
||||
// TODO
|
||||
|
|
Loading…
Reference in a new issue