From 2c701ed7d70cf0370d60494ec908c0ac49e1dd87 Mon Sep 17 00:00:00 2001 From: WinG4merBR <68250074+WinG4merBR@users.noreply.github.com> Date: Thu, 9 Jan 2025 14:54:13 -0300 Subject: [PATCH] Temporary remove custom badges from profile --- .../foxy/utils/profile/badge/BadgeUtils.kt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/foxy/src/main/kotlin/net/cakeyfox/foxy/utils/profile/badge/BadgeUtils.kt b/foxy/src/main/kotlin/net/cakeyfox/foxy/utils/profile/badge/BadgeUtils.kt index 0ee23034..3f036a1a 100644 --- a/foxy/src/main/kotlin/net/cakeyfox/foxy/utils/profile/badge/BadgeUtils.kt +++ b/foxy/src/main/kotlin/net/cakeyfox/foxy/utils/profile/badge/BadgeUtils.kt @@ -42,13 +42,13 @@ object BadgeUtils { } } - defaultBadges.filter { it.isFromGuild != null }.forEach { badge -> - if (userBadges.none { - it.id == badge.id || it.isFromGuild == badge.isFromGuild - }) { - userBadges.add(badge) - } - } +// defaultBadges.filter { it.isFromGuild != null }.forEach { badge -> +// if (userBadges.none { +// it.id == badge.id || it.isFromGuild == badge.isFromGuild +// }) { +// userBadges.add(badge) +// } +// } return userBadges.distinctBy { it.id }.sortedByDescending { it.priority } }