Files
ips-ux e11b8b0817 Fix factioncolor tag GetUnitBattlefieldFaction error (#97)
Fixed error: "attempt to call method 'GetUnitBattlefieldFaction' (a nil value)"
at Tags.lua:838

Changes:
- Changed E:GetUnitBattlefieldFaction(unit) to call the global API function directly
- Added nil check for GetUnitBattlefieldFaction in case it's not available
- Added fallback to UnitFactionGroup(unit) for compatibility

The issue was that the code was trying to call GetUnitBattlefieldFaction as a
method on the E object (E:GetUnitBattlefieldFaction), but this method doesn't
exist. The fix calls the WoW API function directly with a proper nil check and
fallback to ensure the tag works in all cases.

Fixes #TBD
2026-01-19 12:46:12 -07:00
..
2022-10-21 07:09:01 -07:00
2024-09-09 14:11:43 -07:00
2022-10-21 07:09:01 -07:00
2022-10-21 07:09:01 -07:00
2023-05-22 19:18:59 -07:00
2022-10-21 07:09:01 -07:00
2025-10-15 10:31:46 -07:00
2022-10-21 07:09:01 -07:00
2022-10-21 07:09:01 -07:00
2022-10-21 07:09:01 -07:00
2022-10-21 07:09:01 -07:00
2022-10-21 07:09:01 -07:00
2022-10-21 07:09:01 -07:00
2024-09-15 11:55:48 -07:00
2022-10-21 07:09:01 -07:00