e11b8b0817
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