Fix missing ports being -1

This commit is contained in:
rtm516 2020-10-25 12:56:07 +00:00
parent b027134a9c
commit 883f752944
No known key found for this signature in database
GPG key ID: 331715B8B007C67A

View file

@ -35,13 +35,13 @@ import lombok.NoArgsConstructor;
public class Server {
private String address;
private int port = -1;
private int port = 25565;
private boolean online = true;
private boolean bedrock = false;
private String name = null;
public Server(String address) {
this(address, -1);
this(address, 25565);
}
public Server(String address, int port) {