fix(housing): check bookmark for whitespace

This commit is contained in:
Anna 2021-07-01 13:25:15 -04:00
parent 18e9a1d671
commit c65c12b8b3
Signed by: anna
GPG Key ID: 0B391D8F06FCD9E0

View File

@ -23,7 +23,7 @@ namespace RoleplayersToolbox.Tools.Housing {
}
internal bool AnyZero() {
return this.Name == string.Empty
return string.IsNullOrWhiteSpace(this.Name)
|| this.WorldId == 0
|| this.Area == 0
|| this.Ward == 0