if (mw.getPickedUpById() == Entity.NONE) {
if (mw.getOriginalRideId() == entity.getId()) {
                public boolean accept(Entity entity) {                    if (entity instanceof MechWarrior) {                        MechWarrior mw = (MechWarrior)entity;                        if (mw.getPickedUpById() == Entity.NONE) {                            return true;                        }                    }                    return false;                }