Update onload.js

This commit is contained in:
Spmario233 2024-02-17 11:24:41 +08:00
parent 6ab1416504
commit 0d7e1b2cdb
1 changed files with 1 additions and 1 deletions

View File

@ -590,7 +590,7 @@ export async function onload(resetGameTimeout) {
try{
await (gnc.is.coroutine(lib.extensions[i][1]) ? gnc.of(lib.extensions[i][1]) : lib.extensions[i][1]).call(lib.extensions[i], lib.extensions[i][2], lib.extensions[i][4]);
}catch(e){
alert(`加载《${name}》扩展的content时出错。\n${decodeURI(e.stack)}`);
alert(`加载《${lib.extensions[i][0]}》扩展的content时出错。\n${decodeURI(e.stack)}`);
}
if (lib.extensions[i][4]) {
if (lib.extensions[i][4].character) {