Fix null default config

Set default config
This commit is contained in:
MCRcortex
2024-07-25 02:17:10 +10:00
committed by GitHub
parent a9c079661d
commit 56ef3013e2

View File

@@ -50,7 +50,9 @@ public class VoxyConfig {
e.printStackTrace();
}
}
return new VoxyConfig();
var config = new VoxyConfig();
config.defaultSaveConfig = ContextSelectionSystem.DEFAULT_STORAGE_CONFIG;
return config;
}
public void save() {
//Unsafe, todo: fixme! needs to be atomic!