Update mapvote.js

This commit is contained in:
Skillet 2023-07-28 18:34:45 -04:00 committed by GitHub
parent 6489b7d60a
commit 3698f74280
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -410,7 +410,7 @@ export default class MapVote extends DiscordBasePlugin {
if (+(new Date()) - +this.server.layerHistory[0].time > 30 * 1000) {
const filterMaps = this.layerfilterCorrectLayers(Layers.layers);
const seedingMaps = filterMaps.filter(l => l.gamemode.toLowerCase() === this.options.seedingGameMode);
this.verbose(1, "Seeding Maps Found:" seedingMaps);
this.verbose(1, "Seeding Maps Found:" + seedingMaps);
const rndMap = randomElement(seedingMaps);
if (this.server.currentLayer) {