Server specific ram.

This commit is contained in:
Daniel Scalzi
2023-03-18 21:22:18 -04:00
parent 3ef5fabb35
commit a731fa90ea
3 changed files with 56 additions and 50 deletions

View File

@@ -234,7 +234,7 @@ function ensureJavaSettings(data) {
// Nothing too fancy for now.
for(const serv of data.servers){
ConfigManager.ensureJavaConfig(serv.rawServer.id, serv.rawServer.minecraftVersion)
ConfigManager.ensureJavaConfig(serv.rawServer.id, serv.effectiveJavaOptions, serv.rawServer.javaOptions?.ram)
}
ConfigManager.save()