Lowercase forced server checks - #223
This commit is contained in:
parent
430b5ff392
commit
e07f1e603a
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user