From 025e347ba5cfaef058643c713987d5506c2ac5c2 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 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) {