Skip to content

Commit

Permalink
fix: fix duplicate group
Browse files Browse the repository at this point in the history
  • Loading branch information
S-N-O-R-L-A-X committed Dec 30, 2024
1 parent d013cd4 commit 9e6cc4b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions game/resources/app/extension/大战七阴/source/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ export async function content(config, pack) {
}
//在这里编写启动阶段执行的代码。
lib.init.css(lib.assetURL + "extension/大战七阴", "extension");
lib.group.push("daqin");
lib.translate.daqin = "秦";
lib.groupnature.daqin = "thunder";
if (lib.group.indexOf("daqin") === -1) {
lib.group.push("daqin");
lib.translate.daqin = "秦";
lib.groupnature.daqin = "thunder";
}

if (!lib.config.custom_banned_characters) {
lib.config.custom_banned_characters = new Set();
Expand Down

0 comments on commit 9e6cc4b

Please sign in to comment.