mirror of
https://github.com/brues-code/ClassicAPI.git
synced 2026-11-16 08:00:42 +00:00
ShaguTweaks' libpredict sender frame (ShaguTweaksPredictionSender) registers TBC-era events alongside its vanilla ones — COMBAT_LOG_EVENT_UNFILTERED and UNIT_SPELLCAST_START/STOP/FAILED/INTERRUPTED/SENT (libpredict.lua:342-347). In stock 1.12.1 those never fire, so registering them was a harmless no-op and only the vanilla SPELLCAST_* path ran. ClassicAPI now backports those events, so libpredict's TBC branches fire too and double-process cast/heal predictions. Unregister the six TBC events on libpredict.sender once ShaguTweaks loads, restoring vanilla-only behavior. Guarded on the addon existing and the libpredict table being present.