Don't export IsEmpty in proxy tags

This commit is contained in:
spiral 2021-01-13 21:10:51 +00:00 committed by GitHub
parent c16600e143
commit f4ae35f9b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}
}
}
}
}