diff --git a/src/main/java/net/md_5/bungee/Configuration.java b/src/main/java/net/md_5/bungee/Configuration.java index efc69a43..86af2f34 100644 --- a/src/main/java/net/md_5/bungee/Configuration.java +++ b/src/main/java/net/md_5/bungee/Configuration.java @@ -247,7 +247,7 @@ public class Configuration */ public String getServer(String user, String requestedHost) { - String server = forcedServers.get(requestedHost); + String server = (forcedServers == null) ? null : forcedServers.get(requestedHost); if (server == null) { server = reconnectLocations.get(user);