mirror of
https://github.com/AsgardEternal/squad-js-map-vote.git
synced 2025-01-23 14:53:51 -06:00
update mapvote
This commit is contained in:
parent
0d6e8226cd
commit
a2e651723e
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user