From c3ddd0546bec9439136fa4058475c98ce2cbbccc Mon Sep 17 00:00:00 2001 From: Pilzinsel64 Date: Thu, 1 Sep 2022 19:43:57 +0200 Subject: [PATCH] revert last changes --- PlayerTags/Features/LinkSelfInChatFeature.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PlayerTags/Features/LinkSelfInChatFeature.cs b/PlayerTags/Features/LinkSelfInChatFeature.cs index e5dbeaf..3ff938a 100644 --- a/PlayerTags/Features/LinkSelfInChatFeature.cs +++ b/PlayerTags/Features/LinkSelfInChatFeature.cs @@ -102,7 +102,7 @@ namespace PlayerTags.Features // and links it with the player payload. When trying to make one of these manually, it displays the player payload separately, // effectively doubling up the player name. // For now, don't follow up with a text payload. Only use a player payload. - var playerPayload = new PlayerPayload(playerTextPayload.Text, PluginServices.ClientState.LocalPlayer.HomeWorld.Id); + var playerPayload = new PlayerPayload(playerName, PluginServices.ClientState.LocalPlayer.HomeWorld.Id); seString.Payloads.Insert(seString.Payloads.IndexOf(playerTextPayload), playerPayload); seString.Payloads.Remove(playerTextPayload); }