mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-26 00:33:12 +09:00
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:
2 files changed
+3
-3
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user