From bc8e52abbfb28a006e2534a0bc93c4352260a8a0 Mon Sep 17 00:00:00 2001 From: "Lukas Rieger (Blue)" Date: Sun, 31 Jul 2022 22:34:18 +0200 Subject: [PATCH] Use int for ports instead of short to support full port-range --- .../de/bluecolored/bluemap/common/config/WebserverConfig.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BlueMapCommon/src/main/java/de/bluecolored/bluemap/common/config/WebserverConfig.java b/BlueMapCommon/src/main/java/de/bluecolored/bluemap/common/config/WebserverConfig.java index 0fc7116d..59acf881 100644 --- a/BlueMapCommon/src/main/java/de/bluecolored/bluemap/common/config/WebserverConfig.java +++ b/BlueMapCommon/src/main/java/de/bluecolored/bluemap/common/config/WebserverConfig.java @@ -19,7 +19,7 @@ public class WebserverConfig { private String ip = "0.0.0.0"; - private short port = 8100; + private int port = 8100; private int maxConnectionCount = 100; @@ -45,7 +45,7 @@ public InetAddress resolveIp() throws UnknownHostException { } } - public short getPort() { + public int getPort() { return port; }