Support uuid in config.yml

This commit is contained in:
kamcio96 2015-04-14 23:34:07 +02:00 committed by md_5
parent 6e5132f914
commit 81d1c46a0d

View File

@ -161,6 +161,7 @@ public final class UserConnection implements ProxiedPlayer
tabListHandler = new ServerUnique( this ); tabListHandler = new ServerUnique( this );
Collection<String> g = bungee.getConfigurationAdapter().getGroups( name ); Collection<String> g = bungee.getConfigurationAdapter().getGroups( name );
g.addAll( bungee.getConfigurationAdapter().getGroups( getUniqueId().toString() ) );
for ( String s : g ) for ( String s : g )
{ {
addGroups( s ); addGroups( s );