From e07f1e603a8a24ef3faa10bd06f03b3202131eb2 Mon Sep 17 00:00:00 2001 From: md_5 Date: Sun, 24 Mar 2013 11:02:24 +1100 Subject: [PATCH] Lowercase forced server checks - #223 --- proxy/src/main/java/net/md_5/bungee/YamlReconnectHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/src/main/java/net/md_5/bungee/YamlReconnectHandler.java b/proxy/src/main/java/net/md_5/bungee/YamlReconnectHandler.java index 2a983d5c..0803dd46 100644 --- a/proxy/src/main/java/net/md_5/bungee/YamlReconnectHandler.java +++ b/proxy/src/main/java/net/md_5/bungee/YamlReconnectHandler.java @@ -53,7 +53,7 @@ public class YamlReconnectHandler implements ReconnectHandler { ListenerInfo listener = player.getPendingConnection().getListener(); String name; - String forced = listener.getForcedHosts().get( player.getPendingConnection().getVirtualHost().getHostName() ); + String forced = listener.getForcedHosts().get( player.getPendingConnection().getVirtualHost().getHostName().toLowerCase() ); if ( forced == null && listener.isForceDefault() ) { forced = listener.getDefaultServer();