if ( Game.PHASE_INITIATIVE != game.getPhase() ) { StringBuffer message = new StringBuffer(); if ( null == player ) { message.append( "Player #" ) .append( connIndex ); } else { message.append( player.getName() ); } message.append( " is not allowed to ask for a reroll at this time." ); System.err.println( message.toString() ); sendServerChat( message.toString() ); return; }
    private void receiveInitiativeRerollRequest(Packet pkt, int connIndex) {        Player player = getPlayer(connIndex);        if (game.hasTacticalGenius(player)) {            game.addInitiativeRerollRequest(game.getTeamForPlayer(player));        }        if ( null != player ) {            player.setDone(true);        }        checkReady();    }