aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/dulkirmod/features/chat
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/dulkirmod/features/chat')
-rw-r--r--src/main/kotlin/dulkirmod/features/chat/Bridge.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/dulkirmod/features/chat/Bridge.kt b/src/main/kotlin/dulkirmod/features/chat/Bridge.kt
index 6249ead..83efb98 100644
--- a/src/main/kotlin/dulkirmod/features/chat/Bridge.kt
+++ b/src/main/kotlin/dulkirmod/features/chat/Bridge.kt
@@ -57,7 +57,7 @@ object Bridge {
"$newPrefix > $color$playerName§f: "
)
event.message.siblings[1] = ChatComponentText(
- event.message.siblings[1].unformattedText.replace("$playerName: ", "")
+ event.message.siblings[1].unformattedText.replace("$playerName » ", "")
).setChatStyle(event.message.siblings[1].chatStyle.createShallowCopy())
}
}