Cursor becomes forbidden in dungeon
Ellypse opened this issue · 0 comments
The GameTooltip
can sometimes become forbidden and can no longer be used by add-ons when friendly nameplates are enabled and the cursor shows the tooltip from débutes anchored to the friendly nameplates. Subsequent use of the GameTooltip will raise a taint error.
After discussion with developer friends, the only solution here is unfortunately to disable friendly nameplates debuffs for the user by setting the nameplateShowDebuffsOnFriendly
CVar to 0
and actively enforce this settings (make sure it stays off even if someone is trying to set it back on).
- Implement workaround to set
nameplateShowDebuffsOnFriendly
CVar to0
when the user is inside a dungeon (save current value and restore it when leaving protected environment) - Enforce this workaround by hooking the
SetCVar
function and checking if someone is trying to re-enable it.