fix cache dir creation for mojmap
All checks were successful
Publish to snapshot maven / build (push) Successful in 41s

This commit is contained in:
moehreag 2024-08-20 11:50:11 +02:00
parent f90baaef1b
commit 811b4e3611
2 changed files with 24 additions and 23 deletions

View file

@ -8,7 +8,7 @@ plugins {
}
group = "dev.frogmc"
version = "0.0.1-alpha.10"
version = "0.0.1-alpha.11"
repositories {
mavenCentral()

View file

@ -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