aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-10-12 14:13:51 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-10-12 14:13:51 +0200
commit5887abd5191678954e152d1b3b52fab990ca5ac0 (patch)
tree07be41ea7ac0b193f9f9cbf0b87a8d7de0135ccc /src/main/java/at/hannibal2/skyhanni/features
parente8025b1206fc9bc432d86753ffdf4525c5c04f38 (diff)
downloadskyhanni-5887abd5191678954e152d1b3b52fab990ca5ac0.tar.gz
skyhanni-5887abd5191678954e152d1b3b52fab990ca5ac0.tar.bz2
skyhanni-5887abd5191678954e152d1b3b52fab990ca5ac0.zip
wording
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/PlayerChatSymbols.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/PlayerChatSymbols.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/PlayerChatSymbols.kt
index 904b43fa2..b826c5077 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/misc/PlayerChatSymbols.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/misc/PlayerChatSymbols.kt
@@ -6,7 +6,7 @@ import at.hannibal2.skyhanni.features.misc.compacttablist.TabStringType
import at.hannibal2.skyhanni.mixins.transformers.AccessorChatComponentText
import at.hannibal2.skyhanni.utils.LorenzUtils
import at.hannibal2.skyhanni.utils.StringUtils
-import at.hannibal2.skyhanni.utils.StringUtils.getPlayerName
+import at.hannibal2.skyhanni.utils.StringUtils.getPlayerNameFromChatMessage
import at.hannibal2.skyhanni.utils.StringUtils.removeResets
import at.hannibal2.skyhanni.utils.TabListData
import net.minecraft.client.Minecraft
@@ -24,7 +24,7 @@ class PlayerChatSymbols {
if (!LorenzUtils.inSkyBlock) return
if (!config.enabled) return
- val username = event.message.getPlayerName() ?: return
+ val username = event.message.getPlayerNameFromChatMessage() ?: return
updateSymbolFromTabList(username)