fixed nullpointerexception
workaround for playercount on servers