nvm am just stupid

This commit is contained in:
mcrcortex
2025-05-29 23:29:44 +10:00
parent 985fa4b53c
commit f624f85698

View File

@@ -29,6 +29,11 @@ public class VoxyClientInstance extends VoxyInstance {
private final Path basePath = getBasePath(); private final Path basePath = getBasePath();
public VoxyClientInstance() { public VoxyClientInstance() {
super(VoxyConfig.CONFIG.serviceThreads); super(VoxyConfig.CONFIG.serviceThreads);
try {
Files.createDirectories(this.basePath);
} catch (Exception e) {
throw new RuntimeException(e);
}
this.storageConfig = getCreateStorageConfig(this.basePath); this.storageConfig = getCreateStorageConfig(this.basePath);
} }
@@ -147,7 +152,7 @@ public class VoxyClientInstance extends VoxyInstance {
} }
} }
} }
return basePath; return basePath.toAbsolutePath();
} }
/* /*