enable text coloring again for player tag

This commit is contained in:
2022-09-03 19:07:35 +02:00
parent 3ac85bdc9a
commit 4a3c712e34

View File

@@ -115,27 +115,27 @@ namespace PlayerTags.Features
newPayloads.Add(new EmphasisItalicPayload(true));
}
//if (tag.TextGlowColor.InheritedValue != null)
//{
// newPayloads.Add(new UIGlowPayload(tag.TextGlowColor.InheritedValue.Value));
//}
if (tag.TextGlowColor.InheritedValue != null)
{
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)
//{
// newPayloads.Add(new UIGlowPayload(0));
//}
if (tag.TextGlowColor.InheritedValue != null)
{
newPayloads.Add(new UIGlowPayload(0));
}
if (tag.IsTextItalic.InheritedValue != null && tag.IsTextItalic.InheritedValue.Value)
{