Nevcairiel / GatherMate2

GatherMate2 is an addon to collect and track herbs, mines, fishing pools, gas clouds, archaelogy finds and treasures for World of Warcraft
https://www.wowace.com/projects/gathermate2
Other
23 stars 16 forks source link

Classic Era: Attempt to register unknown event "CURSOR_UPDATE" #19

Closed kriminy closed 1 year ago

kriminy commented 1 year ago

With the new patch for Classic Era (TOC version 1.14.4), the client has been updated to be based on the Dragonflight client. The API event CURSOR_UPDATE is now deprecated as a result, causing the following LUA error:

AceEvent30Frame:RegisterEvent(): AceEvent30Frame:RegisterEvent(): Attempt to register unknown event "CURSOR_UPDATE" string "=[C]": in function RegisterEvent' [string "@DataStore/libs/AceEvent-3.0-4/AceEvent-3.0.lua"]:33: in functionOnUsed' [string "@DataStore/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:132: in function RegisterEvent' [string "@GatherMate2/Collector.lua"]:81: in functionRegisterGatherEvents' [string "@GatherMate2/Collector.lua"]:67: in function <GatherMate2/Collector.lua:66>

[string "@DataStore/libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:66: in function <DataStore/libs/AceAddon-3.0/AceAddon-3.0.lua:61> [string "@DataStore/libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:523: in function EnableAddon' [string "@DataStore/libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:536: in functionEnableAddon' [string "@DataStore/libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:626: in function <DataStore/libs/AceAddon-3.0/AceAddon-3.0.lua:611>

Locals: (temporary) = AceEvent30Frame { 0 = } (temporary) = "CURSOR_UPDATE"

Nevcairiel commented 1 year ago

I've published an update earlier today that should address this.

kriminy commented 1 year ago

Ah, I'm sorry, I missed the earlier commit. I thought this version was just the TOC update. Thank you!