1.12.X - LightFinder + Bugfixes + Other fixes from 1.11.X #39

Merged
defnotken merged 85 commits from 1.12.0 into master 2025-10-05 05:48:32 +00:00
Showing only changes of commit a3b5a5cb2e - Show all commits

View File

@@ -72,8 +72,15 @@ public class NameplateService : DisposableMediatorSubscriberBase
if (_configService.Current.overrideFcTagColor)
{
handler.FreeCompanyTagParts.OuterWrap = CreateTextWrap(colors);
handler.FreeCompanyTagParts.TextWrap = CreateTextWrap(colors);
bool hasActualFcTag = playerCharacter.CompanyTag.TextValue.Length > 0;
bool isFromDifferentRealm = playerCharacter.HomeWorld.RowId != playerCharacter.CurrentWorld.RowId;
bool shouldColorFcArea = hasActualFcTag || (!hasActualFcTag && isFromDifferentRealm);
if (shouldColorFcArea)
{
handler.FreeCompanyTagParts.OuterWrap = CreateTextWrap(colors);
handler.FreeCompanyTagParts.TextWrap = CreateTextWrap(colors);
}
}
}
}