Skip to content

Commit

Permalink
GetQuestsForPlayerByMapID Change
Browse files Browse the repository at this point in the history
Removed GetQuestsForPlayerByMapID changed to GetQuestsOnMap
  • Loading branch information
Hyphie24 authored Oct 24, 2024
1 parent b751d27 commit 9b9e733
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions WQAchievements.lua
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ function WQA:OnEnable()
for i = 1, #self.ZoneIDList do
for _, mapID in pairs(self.ZoneIDList[i]) do
if self.db.profile.options.zone[mapID] == true then
local quests = C_TaskQuest.GetQuestsForPlayerByMapID(mapID)
local quests = C_TaskQuest.GetQuestsOnMap(mapID)
if quests then
for j = 1, #quests do
local questID = quests[j].questID
Expand Down Expand Up @@ -929,7 +929,7 @@ function WQA:Reward()
for i in pairs(self.ZoneIDList) do
for _, mapID in pairs(self.ZoneIDList[i]) do
if self.db.profile.options.zone[mapID] == true then
local quests = C_TaskQuest.GetQuestsForPlayerByMapID(mapID)
local quests = C_TaskQuest.GetQuestsOnMap(mapID)
if quests then
for i = 1, #quests do
local questID = quests[i].questID
Expand Down

0 comments on commit 9b9e733

Please sign in to comment.