导入武将包控制台提示改为console.warn

This commit is contained in:
lieren2023 2024-05-01 15:42:29 +08:00 committed by GitHub
parent ccd06f02f3
commit 5f3fd1a84e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -99,8 +99,8 @@ function generateImportFunction(type, pathParser) {
script.remove(); script.remove();
if (status === "error") { if (status === "error") {
if (type === "character") { if (type === "character") {
console.error( console.warn(
"如果您在扩展中使用了game.import创建武将包将以下代码删除: lib.config.all.characters.push('武将包名');" "如果您在扩展中使用了game.import创建武将包将以下代码删除: lib.config.all.characters.push('武将包名');"
); );
} }
return; return;