mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2024-11-25 03:55:26 +01:00
Use int for ports instead of short to support full port-range
This commit is contained in:
parent
00b01cd0da
commit
bc8e52abbf
@ -19,7 +19,7 @@ public class WebserverConfig {
|
|||||||
|
|
||||||
private String ip = "0.0.0.0";
|
private String ip = "0.0.0.0";
|
||||||
|
|
||||||
private short port = 8100;
|
private int port = 8100;
|
||||||
|
|
||||||
private int maxConnectionCount = 100;
|
private int maxConnectionCount = 100;
|
||||||
|
|
||||||
@ -45,7 +45,7 @@ public InetAddress resolveIp() throws UnknownHostException {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public short getPort() {
|
public int getPort() {
|
||||||
return port;
|
return port;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user