移除联机模式下扩展的伪加载

This commit is contained in:
Spmario233 2024-04-17 11:38:30 +08:00
parent 7b7af440d5
commit bcd07cdd14
1 changed files with 0 additions and 8 deletions

View File

@ -469,14 +469,6 @@ export async function boot() {
extensionlist.push(config.get("extensions")[name]);
}
}
} else if (!localStorage.getItem(lib.configprefix + 'directstart')) {
for (var name = 0; name < config.get("extensions").length; name++) {
if (Reflect.get(window, "bannedExtensions").includes(config.get("extensions")[name])) {
continue;
}
// @ts-ignore
game.import("extension", { name: config.get("extensions")[name] });
}
}
let layout = config.get("layout");