aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal002@users.noreply.github.com>2024-08-16 04:44:17 +0200
committerGitHub <noreply@github.com>2024-08-16 12:44:17 +1000
commit7dee7d8a3a5e0ae28317aea50adb6c5d27109e82 (patch)
treeb7fda540ffcbdcf0801e66ccdc6cd8387de98427 /src/main/java
parentb0a8f0a0c712b606e20f0c9b36d65b4c8ce70c35 (diff)
downloadskyhanni-7dee7d8a3a5e0ae28317aea50adb6c5d27109e82.tar.gz
skyhanni-7dee7d8a3a5e0ae28317aea50adb6c5d27109e82.tar.bz2
skyhanni-7dee7d8a3a5e0ae28317aea50adb6c5d27109e82.zip
Fix: Tab List Friends (#2353)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java')
-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
}