From 8ac8a47db6d63c78147d9089aca2d1f4e2a0fbb9 Mon Sep 17 00:00:00 2001 From: Sluimerstand Date: Mon, 10 Jun 2024 16:42:16 +0200 Subject: [PATCH] Fixed a weird issue with Cyrillic item links --- Core.lua | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Core.lua b/Core.lua index 666e819..e877eb8 100644 --- a/Core.lua +++ b/Core.lua @@ -471,7 +471,7 @@ function app.UpdateWindow() ChatEdit_InsertLink(lootInfo.item) else if app.WeaponLoot[lootInfo.index].recentlyWhispered == false then - local msg = string.gsub(TransmogLootHelper_Settings["message"], "%%item", lootInfo.item.."|r") + local msg = string.gsub(TransmogLootHelper_Settings["message"], "%%item", lootInfo.item) SendChatMessage(msg, "WHISPER", "", lootInfo.player) -- Add a timeout to prevent spamming @@ -665,7 +665,7 @@ function app.UpdateWindow() ChatEdit_InsertLink(lootInfo.item) else if app.ArmourLoot[lootInfo.index].recentlyWhispered == false then - local msg = string.gsub(TransmogLootHelper_Settings["message"], "%%item", lootInfo.item.."|r") + local msg = string.gsub(TransmogLootHelper_Settings["message"], "%%item", lootInfo.item) SendChatMessage(msg, "WHISPER", "", lootInfo.player) -- Add a timeout to prevent spamming @@ -1271,7 +1271,4 @@ function event:CHAT_MSG_LOOT(text, playerName, languageName, channelName, player end removeIfLooted() end -end - --- Test filtered list --- Test remove if loot \ No newline at end of file +end \ No newline at end of file