diff --git a/mapvote.js b/mapvote.js index 2b41dae..45e2115 100644 --- a/mapvote.js +++ b/mapvote.js @@ -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) {