client.getLocalPlayer().setColorIndex(nc); client.sendPlayerInfo();
if (client.getLocalPlayer().getColorIndex() != nc) { client.getLocalPlayer().setColorIndex(nc); client.sendPlayerInfo(); }
    public void changeColor(int nc) {        client.getLocalPlayer().setColorIndex(nc);        client.sendPlayerInfo();    }