From bcd07cdd14fe921b56df3e4e6dd26bcdbc1eb0e1 Mon Sep 17 00:00:00 2001 From: Spmario233 Date: Wed, 17 Apr 2024 11:38:30 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=E8=81=94=E6=9C=BA=E6=A8=A1?= =?UTF-8?q?=E5=BC=8F=E4=B8=8B=E6=89=A9=E5=B1=95=E7=9A=84=E4=BC=AA=E5=8A=A0?= =?UTF-8?q?=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- noname/init/index.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/noname/init/index.js b/noname/init/index.js index b21df42a9..0ce2386db 100644 --- a/noname/init/index.js +++ b/noname/init/index.js @@ -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");