Merge pull request #3790 from juliangiebel/2023.1.28-rich-text

Fix FormattedMessage#IsEmpty
This commit is contained in:
Moony
2023-02-17 14:23:25 -06:00
committed by GitHub

View File

@@ -24,7 +24,7 @@ public sealed partial class FormattedMessage
/// <summary>
/// true if the formatted message doesn't contain any nodes
/// </summary>
public bool IsEmpty => _nodes.Count > 0;
public bool IsEmpty => _nodes.Count == 0;
private readonly List<MarkupNode> _nodes;