diff --git a/example configs/simple example.json b/example configs/simple example.json index 4ed7f9a..8b40e4f 100644 --- a/example configs/simple example.json +++ b/example configs/simple example.json @@ -6,6 +6,11 @@ "Invasion" ], + "mode_repeat_blacklist": + [ + "Invasion" + ], + "rules": { "Gorodok": diff --git a/mapvote.js b/mapvote.js index 0da5452..127398f 100644 --- a/mapvote.js +++ b/mapvote.js @@ -250,7 +250,7 @@ export default class MapVote extends BasePlugin if (mode === "Any") modes = this.voteRules.modes; - if (this.voteRules.repeatBlacklist.includes(currentMode)) + if (this.voteRules.mode_repeat_blacklist.includes(currentMode)) { modes = modes.filter(mode => !mode.includes(currentMode)); }