fix args
This commit is contained in:
parent
d94b679e2e
commit
450f0a2ffd
1 changed files with 2 additions and 1 deletions
|
|
@ -29,11 +29,12 @@ public class Program {
|
|||
logger.info("Initializing");
|
||||
|
||||
if (args.length == 3) {
|
||||
srvUrl = args[0] + args[1];
|
||||
srvUrl = args[0] + ":" + args[1];
|
||||
login = args[2];
|
||||
} else {
|
||||
logger.warn("No given args: using the default values");
|
||||
}
|
||||
logger.debug("Using server " + srvUrl + " with player " + login);
|
||||
|
||||
// Test
|
||||
HttpResponse<JsonNode> response;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue