Identify free servers from server name

This commit is contained in:
Shaun Bennett 2014-07-30 17:30:46 -05:00
parent dcc8eaaa21
commit 3e9aebdb87

View File

@ -12,6 +12,6 @@ public class ServerInfo
public boolean isFree()
{
return Integer.parseInt(Name.split("-")[1]) % 2 == 0;
return Name.contains("FREE");
}
}