Skip to content

Commit

Permalink
Fixed a weird issue with Cyrillic item links
Browse files Browse the repository at this point in the history
  • Loading branch information
Slackluster committed Jun 10, 2024
1 parent 176862d commit 8ac8a47
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions Core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
end

0 comments on commit 8ac8a47

Please sign in to comment.