mirror of
https://github.com/GeyserMC/GeyserConnect.git
synced 2025-06-26 14:15:22 +02:00
Fix missing ports being -1
This commit is contained in:
parent
b027134a9c
commit
883f752944
1 changed files with 2 additions and 2 deletions
|
@ -35,13 +35,13 @@ import lombok.NoArgsConstructor;
|
||||||
public class Server {
|
public class Server {
|
||||||
|
|
||||||
private String address;
|
private String address;
|
||||||
private int port = -1;
|
private int port = 25565;
|
||||||
private boolean online = true;
|
private boolean online = true;
|
||||||
private boolean bedrock = false;
|
private boolean bedrock = false;
|
||||||
private String name = null;
|
private String name = null;
|
||||||
|
|
||||||
public Server(String address) {
|
public Server(String address) {
|
||||||
this(address, -1);
|
this(address, 25565);
|
||||||
}
|
}
|
||||||
|
|
||||||
public Server(String address, int port) {
|
public Server(String address, int port) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue