From 56880996053f407277926c949b86414362c59694 Mon Sep 17 00:00:00 2001 From: md_5 Date: Tue, 12 Mar 2013 17:14:50 +1100 Subject: [PATCH] Also make sure we get the restricted value per server --- proxy/src/main/java/net/md_5/bungee/config/YamlConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/src/main/java/net/md_5/bungee/config/YamlConfig.java b/proxy/src/main/java/net/md_5/bungee/config/YamlConfig.java index 1c3aa55f..da8cd87c 100644 --- a/proxy/src/main/java/net/md_5/bungee/config/YamlConfig.java +++ b/proxy/src/main/java/net/md_5/bungee/config/YamlConfig.java @@ -151,7 +151,7 @@ public class YamlConfig implements ConfigurationAdapter Map 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 );