Merge pull request #252 from Shadowrs/feature/allow-dupe-config-names

Fix ServerDesc comparitor to allow duplicate server names
This commit is contained in:
Jeroen Ketelaar
2018-09-09 18:22:32 -05:00
committed by GitHub
@@ -37,6 +37,9 @@ public class ServerDescription implements Comparable<ServerDescription> {
@Override
public int compareTo(ServerDescription o) {
if (this.getServerName().equalsIgnoreCase(o.getServerName())) {
return 1;
}
return this.getServerName().compareTo(o.getServerName());
}