Identify free servers from server name
This commit is contained in:
parent
dcc8eaaa21
commit
3e9aebdb87
@ -12,6 +12,6 @@ public class ServerInfo
|
||||
|
||||
public boolean isFree()
|
||||
{
|
||||
return Integer.parseInt(Name.split("-")[1]) % 2 == 0;
|
||||
return Name.contains("FREE");
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user