LinkSelfInChatFeature: fix right content of message gets chropped and replaced by name
This commit is contained in:
@@ -89,7 +89,7 @@ namespace PlayerTags.Features
|
||||
seString.Payloads.Insert(textPayloadIndex, playerTextPayload);
|
||||
|
||||
// Remove from the chopped text from the original payload
|
||||
textPayload.Text = textPayload.Text.Substring(0, playerName.Length);
|
||||
textPayload.Text = textPayload.Text.Substring(playerName.Length);
|
||||
|
||||
textMatchIndex = textPayload.Text.IndexOf(playerName);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user