Questie

Questie

124M Downloads

QuestieDB:IsRepeatable(questId) is defined twice

Laumesis opened this issue ยท 0 comments

commented

in Database/QuestieDB.lua :

---@param questId number
---@return boolean
function QuestieDB:IsRepeatable(questId)
    local flags = QuestieDB.QueryQuestSingle(questId, "specialFlags")
    return flags and mod(flags, 2) == 1
end

and later also

---@param questId number
---@return boolean
function QuestieDB:IsRepeatable(questId)
    local specialFlags = unpack(QuestieDB.QueryQuest(questId, "specialFlags"))
    return mod(specialFlags, 2) == 1
end