mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-15 23:24:52 +09:00
Add default mod packs (#735)
This commit is contained in:
1 parent
7b8945ff15
commit
8996671bea
6 files changed
+72
-1
No files matched your search
@@ -127,6 +127,10 @@ export default class Controller {
|
||||
lib.ModPack.fromJSON.bind(lib.ModPack)
|
||||
).bootstrap());
|
||||
|
||||
if (modPacks.size === 0) {
|
||||
modPacks.setMany(lib.ModPack.defaultModPacks);
|
||||
}
|
||||
|
||||
const userManager = new UserManager(config);
|
||||
await userManager.load(path.join(databaseDirectory, "users.json"));
|
||||
|
||||
|
||||
Reference in new issue
Block a user