From a2e651723e5d03925764470d989b455c8d05e157 Mon Sep 17 00:00:00 2001 From: Skillet Date: Wed, 26 Apr 2023 09:33:56 -0400 Subject: [PATCH] update mapvote --- mapvote.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mapvote.js b/mapvote.js index f622917..809715e 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"] @@ -354,7 +354,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) {