aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/compacttablist/AdvancedPlayerList.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/compacttablist/AdvancedPlayerList.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/compacttablist/AdvancedPlayerList.kt
index 518ebbaf9..6bd731cb0 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/misc/compacttablist/AdvancedPlayerList.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/misc/compacttablist/AdvancedPlayerList.kt
@@ -220,7 +220,7 @@ object AdvancedPlayerList {
LorenzUtils.getPlayerName() == name -> SocialIcon.ME
MarkedPlayerManager.isMarkedPlayer(name) -> SocialIcon.MARKED
PartyAPI.partyMembers.contains(name) -> SocialIcon.PARTY
- FriendAPI.getAllFriends().any { it.name.contains(name) } -> SocialIcon.FRIEND
+ FriendAPI.getAllFriends().any { it.name.equals(name, ignoreCase = true) } -> SocialIcon.FRIEND
GuildAPI.isInGuild(name) -> SocialIcon.GUILD
else -> SocialIcon.OTHER
}