fix: resolve nil QuestInfoRequiredMoneyText and ChatEdit_InsertLink crashes

This commit is contained in:
Bluewhale1337
2026-07-27 10:19:08 +02:00
parent a1295449d2
commit 175f0b6f0b
2 changed files with 12 additions and 5 deletions
+5 -1
View File
@@ -111,7 +111,11 @@ local function LootClick(frame)
if IsControlKeyDown() then
DressUpItemLink(frame.link)
elseif IsShiftKeyDown() then
ChatEdit_InsertLink(frame.link)
if ChatEdit_InsertLink then
ChatEdit_InsertLink(frame.link)
elseif ChatFrameEditBox and ChatFrameEditBox:IsVisible() then
ChatFrameEditBox:Insert(frame.link)
end
end
end