From f4ae35f9b83911c11d14990ea1e59d1ff8a55125 Mon Sep 17 00:00:00 2001 From: spiral Date: Wed, 13 Jan 2021 21:10:51 +0000 Subject: [PATCH] Don't export `IsEmpty` in proxy tags --- PluralKit.Core/Models/ProxyTag.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PluralKit.Core/Models/ProxyTag.cs b/PluralKit.Core/Models/ProxyTag.cs index c00a5e50..c433f0b5 100644 --- a/PluralKit.Core/Models/ProxyTag.cs +++ b/PluralKit.Core/Models/ProxyTag.cs @@ -16,7 +16,7 @@ namespace PluralKit.Core [JsonIgnore] public string ProxyString => $"{Prefix ?? ""}text{Suffix ?? ""}"; - public bool IsEmpty => Prefix == null && Suffix == null; + [JsonIgnore] public bool IsEmpty => Prefix == null && Suffix == null; public bool Equals(ProxyTag other) => Prefix == other.Prefix && Suffix == other.Suffix; @@ -31,4 +31,4 @@ namespace PluralKit.Core } } } -} \ No newline at end of file +}