diff --git a/LightlessSync/Services/NameplateService.cs b/LightlessSync/Services/NameplateService.cs index 27fa06f..f441a60 100644 --- a/LightlessSync/Services/NameplateService.cs +++ b/LightlessSync/Services/NameplateService.cs @@ -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); + } } } }