From 39b49fb4a888ee45e95f121698cea88227190a1b Mon Sep 17 00:00:00 2001 From: Pilzinsel64 Date: Fri, 2 Sep 2022 15:38:49 +0200 Subject: [PATCH] disable writing Text color in TagTargetFeature, it's working out of the box (compatiblity with other plugins) --- PlayerTags/Features/TagTargetFeature.cs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/PlayerTags/Features/TagTargetFeature.cs b/PlayerTags/Features/TagTargetFeature.cs index 0e49fcc..2c2bd4b 100644 --- a/PlayerTags/Features/TagTargetFeature.cs +++ b/PlayerTags/Features/TagTargetFeature.cs @@ -116,17 +116,17 @@ namespace PlayerTags.Features newPayloads.Add(new UIGlowPayload(tag.TextGlowColor.InheritedValue.Value)); } - if (tag.TextColor.InheritedValue != null) - { - newPayloads.Add(new UIForegroundPayload(tag.TextColor.InheritedValue.Value)); - } + //if (tag.TextColor.InheritedValue != null) + //{ + // newPayloads.Add(new UIForegroundPayload(tag.TextColor.InheritedValue.Value)); + //} newPayloads.Add(new TextPayload(text)); - if (tag.TextColor.InheritedValue != null) - { - newPayloads.Add(new UIForegroundPayload(0)); - } + //if (tag.TextColor.InheritedValue != null) + //{ + // newPayloads.Add(new UIForegroundPayload(0)); + //} if (tag.TextGlowColor.InheritedValue != null) {