mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-23 18:55:22 +01:00
Only check name for server reload modification.
This commit is contained in:
parent
e68ed48fc3
commit
61d2765715
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user