Commit Graph
5 Commits
Author SHA1 Message Date
shaga d970ccae45 Stop heal prediction erroring on vanilla clients with ClassicAPI
libpredict registered the tbc spellcast and combat log events on every
client and relied on vanilla never firing them. A vanilla client with an
API backport such as ClassicAPI fires UNIT_SPELLCAST_START as well, without
UnitCastingInfo, so every cast raised "attempt to call global
'UnitCastingInfo'". Register those events on the tbc client only; vanilla
keeps using its own SPELLCAST events.
2026-10-15 03:57:41 +00:00
shagu 344354d975 helpers: make hooksecurefunc append by default 2025-07-30 20:26:29 +02:00
shagu ca1acd64ef libpredict: use shortcut to strsplit from helpers 2024-09-20 19:35:12 +02:00
shagu 44c7297a4a libs: don't rely on sane global environment
some addons like to provide a broken _G variable to
the global environment breaking every other addon that
relies on it if existing. With this commit, make ShaguTweaks
no longer re-use the global _G, even if existing.
2022-11-19 17:40:51 +01:00
shagu a913bfa349 libs: import pfui core libraries 2021-08-24 16:52:25 +02:00