Fix ServerDesc comparitor to allow duplicate server names

This commit is contained in:
Jak authored and Shadowrs committed 2018-08-24 03:10:51 +01:00
1 parent 82f3224c36
commit 097a0bdf7b
1 file changed
+2
@@ -37,6 +37,8 @@ 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());
}