Merge pull request #275 from dev-kittens/patch-2
Don't export `IsEmpty` in proxy tags
This commit is contained in:
commit
1c4b972f65
@ -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…
x
Reference in New Issue
Block a user