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 authored and GitHub committed 2018-09-09 18:22:32 -05:00
commit 8d9239c300
1 file changed
+3
@@ -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());
}