Quartz

31M Downloads

Retail events causing errors in TBCC

nteetor opened this issue ยท 0 comments

commented

The following Retail events are registered in Pet.lua, which throws an error in TBCC.

Quartz/modules/Pet.lua

Lines 107 to 108 in 4e87a5e

PetCastingBarFrame:RegisterEvent("UNIT_SPELLCAST_INTERRUPTIBLE")
PetCastingBarFrame:RegisterEvent("UNIT_SPELLCAST_NOT_INTERRUPTIBLE")

These Retail-only events were addressed in other files, such as in Focus.lua,

if WoWRetail then
	FocusFrameSpellBar:RegisterEvent("UNIT_SPELLCAST_INTERRUPTIBLE")
	FocusFrameSpellBar:RegisterEvent("UNIT_SPELLCAST_NOT_INTERRUPTIBLE")
end

However, the version check is missing from Pet.lua.