Fixed check stats

This commit is contained in:
2023-04-25 17:43:19 +02:00
parent e612106caa
commit f13cc0d3fb

View File

@@ -60,7 +60,7 @@ module.exports = {
const hsswstars = stats.data.stats.SkyWars.level const hsswstars = stats.data.stats.SkyWars.level
const hsduelswins = stats.data.stats.Duels.general.wins const hsduelswins = stats.data.stats.Duels.general.wins
if (hsbwstars < bwstars && hsbwfkdr < bwfdkr && hsbwwins < bwwins) { if (hsbwstars < bwstars || hsbwfkdr < bwfdkr || hsbwwins < bwwins) {
var bwtitle = "<a:cross_a:1087808606897983539> This player does not meet the BedWars requirements." var bwtitle = "<a:cross_a:1087808606897983539> This player does not meet the BedWars requirements."
} else { } else {
var bwtitle = "<a:check_a:1087808632172847134> This player meets the BedWars requirements." var bwtitle = "<a:check_a:1087808632172847134> This player meets the BedWars requirements."