private int getPlayerMPIndex(String username){
		int index = 0;
		for(Entity e : getEntities()){
			if(e instanceof PlayerMP && ((PlayerMP)e).getUsername().equals(username)){
				break;
			}
			index++;
		}
		return index;
	}