Fix ServerDesc comparitor to allow duplicate server names

This commit is contained in:
Jak
2018-07-29 14:49:01 +01:00
committed by Shadowrs
parent 82f3224c36
commit 097a0bdf7b
@@ -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());
}