This commit is contained in:
Crum
2018-12-06 21:39:19 -06:00
parent 7be3bc33d1
commit caef63a2da
2 changed files with 1 additions and 12 deletions
+1 -7
View File
@@ -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