&& null != ce() && next.getOwnerId() != ce().getOwnerId() ) {
&& null != ce && next.getOwnerId() != ce.getOwnerId() ) {
    private void endMyTurn() {        // end my turn, then.        disableButtons();        Entity next = client.game.getNextEntity( client.game.getTurnIndex() );        if ( Game.PHASE_MOVEMENT == client.game.getPhase()             && null != next             && null != ce()             && next.getOwnerId() != ce().getOwnerId() ) {            clientgui.setDisplayVisible(false);        }        cen = Entity.NONE;        client.game.board.select(null);        client.game.board.highlight(null);        client.game.board.cursor(null);        clientgui.bv.clearMovementData();    }