移除联机模式下扩展的伪加载
This commit is contained in:
parent
7b7af440d5
commit
bcd07cdd14
|
@ -469,14 +469,6 @@ export async function boot() {
|
||||||
extensionlist.push(config.get("extensions")[name]);
|
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");
|
let layout = config.get("layout");
|
||||||
|
|
Loading…
Reference in New Issue