fix(housing): check bookmark for whitespace
This commit is contained in:
parent
3420b00062
commit
04f598f44c
|
@ -23,7 +23,7 @@ namespace RoleplayersToolbox.Tools.Housing {
|
||||||
}
|
}
|
||||||
|
|
||||||
internal bool AnyZero() {
|
internal bool AnyZero() {
|
||||||
return this.Name == string.Empty
|
return string.IsNullOrWhiteSpace(this.Name)
|
||||||
|| this.WorldId == 0
|
|| this.WorldId == 0
|
||||||
|| this.Area == 0
|
|| this.Area == 0
|
||||||
|| this.Ward == 0
|
|| this.Ward == 0
|
||||||
|
|
Loading…
Reference in New Issue