diff --git a/api/src/main/java/net/md_5/bungee/api/ServerConnectRequest.java b/api/src/main/java/net/md_5/bungee/api/ServerConnectRequest.java index c2192118b2..578546dd69 100644 --- a/api/src/main/java/net/md_5/bungee/api/ServerConnectRequest.java +++ b/api/src/main/java/net/md_5/bungee/api/ServerConnectRequest.java @@ -59,20 +59,11 @@ public enum Result /** * Timeout in milliseconds for request. */ - private final int connectTimeout; + @Builder.Default + private final int connectTimeout = 5000; // TODO: Configurable /** * Should the player be attempted to connect to the next server in their * queue if the initial request fails. */ private final boolean retry; - - /** - * Class that sets default properties/adds methods to the lombok builder - * generated class. - */ - public static class ServerConnectRequestBuilder - { - - private int connectTimeout = 5000; // TODO: Configurable - } }