disable writing Text color in TagTargetFeature, it's working out of the box (compatiblity with other plugins)

This commit is contained in:
2022-09-02 15:38:49 +02:00
parent 1c0564b3f4
commit 39b49fb4a8

View File

@@ -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)
{