From 61d2765715c33e2f137be3fe2d75bd83110fb3a0 Mon Sep 17 00:00:00 2001 From: md_5 Date: Sat, 24 Jan 2015 13:34:38 +1100 Subject: [PATCH] Only check name for server reload modification. --- proxy/src/main/java/net/md_5/bungee/conf/Configuration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/src/main/java/net/md_5/bungee/conf/Configuration.java b/proxy/src/main/java/net/md_5/bungee/conf/Configuration.java index 2ce11875..c44a26d0 100644 --- a/proxy/src/main/java/net/md_5/bungee/conf/Configuration.java +++ b/proxy/src/main/java/net/md_5/bungee/conf/Configuration.java @@ -93,7 +93,7 @@ public class Configuration implements ProxyConfig for ( ServerInfo oldServer : servers.values() ) { // Don't allow servers to be removed - Preconditions.checkArgument( newServers.containsValue( oldServer ), "Server %s removed on reload!", oldServer.getName() ); + Preconditions.checkArgument( newServers.containsKey( oldServer.getName() ), "Server %s removed on reload!", oldServer.getName() ); } // Add new servers