It looks like in the usage example of the README.md file a bracket is missing after Mojang.ServiceType.AUTH_MOJANG_COM:
if (api.getStatus(Mojang.ServiceType.AUTH_MOJANG_COM != Mojang.ServiceStatus.GREEN) {
System.err.println("The Auth Server is not available right now.");
}
It looks like in the usage example of the
README.md
file a bracket is missing afterMojang.ServiceType.AUTH_MOJANG_COM
: