Files
coa-elvui/ElvUI
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
2022-10-21 07:09:01 -07:00
2025-12-01 11:30:54 -07:00
2024-05-21 04:57:10 -07:00
2025-10-10 19:28:23 +13:00
2025-12-24 16:35:08 -07:00