mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-12-25 10:07:38 +01:00
Also make sure we get the restricted value per server
This commit is contained in:
parent
1d2afae98e
commit
5688099605
@ -151,7 +151,7 @@ public class YamlConfig implements ConfigurationAdapter
|
||||
Map<String, Object> val = entry.getValue();
|
||||
String name = entry.getKey();
|
||||
String addr = get( "address", "localhost:25565", val );
|
||||
boolean restricted = get( "restricted", false );
|
||||
boolean restricted = get( "restricted", false, val );
|
||||
InetSocketAddress address = Util.getAddr( addr );
|
||||
ServerInfo info = ProxyServer.getInstance().constructServerInfo( name, address, restricted );
|
||||
ret.put( name, info );
|
||||
|
Loading…
Reference in New Issue
Block a user