null features moment

This commit is contained in:
Cynthia Foxwell 2025-04-19 12:31:09 -06:00
parent 4fc9d8c01d
commit 375eafd782
Signed by: Cynosphere
SSH key fingerprint: SHA256:H3SM8ufP/uxqLwKSH7xY89TDnbR9uOHzjLoBr0tlajk

View file

@ -156,6 +156,8 @@ function enumKeyToName(key) {
}
function formatGuildFeatures(features) {
if (!features || features.length === 0) return [];
return features
.sort((a, b) => {
const feature_a = GuildFeaturesFormatted[a];