Address feedback

* Fix typo in toJSON
* Handle the case of hostId being 0
* Hide address when host address is empty string
This commit is contained in:
Cooldude2606 committed 2026-07-18 22:07:54 +01:00
1 parent eab1a42e07
commit 90c8188952
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -21,7 +21,7 @@ export class PlayerAuthServer {
json.address = this.address;
}
if (this.factorioVersion !== undefined) {
json.factorioVersion = this.address;
json.factorioVersion = this.factorioVersion;
}
return json;
}