update mapvote

This commit is contained in:
Skillet 2023-04-26 09:33:56 -04:00
parent f8ca66edf2
commit 025e347ba5

View File

@ -86,7 +86,7 @@ export default class MapVote extends DiscordBasePlugin {
description: "Select Whitelist mode or Blacklist mode",
default: "blacklist"
},
modWhiteList: {
modWhitelist: {
required: false,
description: "select mods (short ID) to whitelist for voting",
default: ["Vanilla"]
@ -348,7 +348,7 @@ export default class MapVote extends DiscordBasePlugin {
}
getModLayers(){
return Layers.layers.filter((l) => this.options.modWhiteList.find((e) => e === l.modName));
return Layers.layers.filter((l) => this.options.modWhitelist.find((e) => e === l.modName));
}
setSeedingMode(isNewGameEvent = false) {