From b44fa4c06fd88d2698869f0fc96ed0a4ca52383b Mon Sep 17 00:00:00 2001 From: md_5 Date: Sat, 1 Dec 2012 18:04:48 +1100 Subject: [PATCH] Allow no forced servers because asohgdvksahldu --- src/main/java/net/md_5/bungee/Configuration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);