mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
ooops
This commit is contained in:
@@ -564,18 +564,12 @@ function GetQuestItemStarterInfo(link)
|
||||
local isQuestItem, isQuestStarter, invalidQuestItem = false, false, false
|
||||
|
||||
if link then
|
||||
local itemType = select(6, GetItemInfo(link))
|
||||
local itemType = select(6, GetItemInfo(match(link, "item:(%d+)")))
|
||||
|
||||
if itemType and itemType == "Quest" then
|
||||
isQuestItem = true
|
||||
end
|
||||
|
||||
for _, info in pairs(QIS.QuestItemIDs) do
|
||||
if match(link, "item:(%d+):") == info then
|
||||
isQuestItem = true
|
||||
end
|
||||
end
|
||||
|
||||
for _, info in pairs(QIS.QuestItemKeyIDs) do
|
||||
if match(link, "item:(%d+):") == info then
|
||||
isQuestItem = true
|
||||
|
||||
Reference in New Issue
Block a user