Return server information.

This commit is contained in:
Tristan B. Kildaire 2020-05-07 17:50:10 +02:00
parent 296caf871d
commit fed281371f
1 changed files with 3 additions and 1 deletions

View File

@ -33,7 +33,7 @@ public final class BesterInformerClient
/* The server info */
JSONValue serverInfo;
JSONValue message;
JSONValue message;
JSONValue commandBlock;
commandBlock["type"] = "serverInfo";
@ -45,6 +45,8 @@ public final class BesterInformerClient
JSONValue response;
receiveMessage(informerSocket, response);
serverInfo = response["data"];
/* TODO: Implement me */
return serverInfo;
}