else if ( eMaster.isShutDown() ) { return null; }  else if (!eMaster.C3MasterIs(eMaster)) { C3Master = NONE; }  else if ( ( eMaster.C3CompanyMasterIndex > LOC_NONE && !eMaster.hasC3MM() ) || ( eMaster.C3CompanyMasterIndex <= LOC_NONE && !eMaster.hasC3M() ) ) { C3Master = NONE; } }   else if ( !isShutDown() && !hasC3MM() && C3Master > NONE ) { C3Master = NONE;
    public Entity getC3Master() {      if(C3Master == NONE) return null;      if(hasC3S() && C3Master > NONE) {           // since we can't seem to get the check working in setC3Master(), I'll just do it here, every time. This sucks.          Entity eMaster = game.getEntity(C3Master);          if (eMaster == null || eMaster.C3MasterIs(eMaster)) {              C3Master = NONE;          }      }      else if(hasC3M() && C3Master > NONE) {          Entity eMaster = game.getEntity(C3Master);          if (eMaster == null || !eMaster.C3MasterIs(eMaster)) {              C3Master = NONE;          }      }      if (C3Master == NONE) {          return null;      } else {          return game.getEntity(C3Master);      }    }