p3lim-wow / BetterWorldQuests

Improved World Quest maps
Other
9 stars 3 forks source link

BetterWorldQuests/PinProvider.lua:154: attempt to call method 'IsAttachedToQuest' (a nil value) #30

Closed ntowle closed 1 year ago

ntowle commented 1 year ago

At the Forbidden Reach:

10x BetterWorldQuests/PinProvider.lua:154: attempt to call method 'IsAttachedToQuest' (a nil value)
[string "@BetterWorldQuests/PinProvider.lua"]:154: in function `RefreshAllData'
[string "@Blizzard_SharedMapDataProviders/WorldQuestDataProvider.lua"]:181: in function <...rd_SharedMapDataProviders/WorldQuestDataProvider.lua:181>
L3n1n commented 1 year ago

For fixing this you need to replace 2 strings: if self.pingPin and self.pingPin:IsAttachedToQuest(questID) then to: if self.pingPin and self.pingPin:GetID() == questID then