mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-15 02:00:09 +00:00
Don't export IsEmpty in proxy tags
This commit is contained in:
parent
c16600e143
commit
f4ae35f9b8
1 changed files with 2 additions and 2 deletions
|
|
@ -16,7 +16,7 @@ namespace PluralKit.Core
|
||||||
|
|
||||||
[JsonIgnore] public string ProxyString => $"{Prefix ?? ""}text{Suffix ?? ""}";
|
[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;
|
public bool Equals(ProxyTag other) => Prefix == other.Prefix && Suffix == other.Suffix;
|
||||||
|
|
||||||
|
|
@ -31,4 +31,4 @@ namespace PluralKit.Core
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue