if (game.getPhase() != Game.PHASE_DEPLOY_MINEFIELDS) {
if (game.getPhase() != IGame.PHASE_DEPLOY_MINEFIELDS) {
    private void receiveDeployMinefields(Packet packet, int connId) {        Vector minefields = (Vector) packet.getObject(0);        // is this the right phase?        if (game.getPhase() != Game.PHASE_DEPLOY_MINEFIELDS) {            System.err.println("error: server got deploy minefields packet in wrong phase");            return;        }        // looks like mostly everything's okay        processDeployMinefields(minefields);        endCurrentTurn(null);    }