!(e instanceof Mech || e instanceof Protomech)) {
!(e instanceof Mech || e instanceof Protomech || e instanceof MechWarrior)) {
    private void resolveCrewWakeUp() {        boolean anyRolls = false;        for (Enumeration i = game.getEntities(); i.hasMoreElements();) {            final Entity e = (Entity)i.nextElement();            // only unconscious pilots of mechs and proto's can roll to wake up            if ( !e.isTargetable() || !e.crew.isUnconscious() ||                 e.crew.isKoThisRound() ||                !(e instanceof Mech || e instanceof Protomech)) {                continue;            }            anyRolls = true;            int roll = Compute.d6(2);            if ( e.getCrew().getOptions().booleanOption("pain_resistance") )              roll = Math.min(12, roll + 1);            int rollTarget = Compute.getConsciousnessNumber( e.crew.getHits() );            roundReport.append("\nPilot of " ).append( e.getDisplayName()                               ).append( " \"" ).append( e.crew.getName()                               ).append( "\" needs a " ).append( rollTarget                               ).append( " to regain consciousness.  Rolls " ).append( roll                               ).append( " : ");            if (roll >= rollTarget) {                roundReport.append("successful!");                e.crew.setUnconscious(false);            } else {                roundReport.append("fails.");            }        }        if (anyRolls) {            roundReport.append("\n");        }    }