}
private boolean checkBiomeHazard(IBeeGenome genome, float temperature, float humidity) {
EnumTemperature beeTemperature = genome.getPrimary().getTemperature();
EnumTolerance temperatureTolerance = genome.getToleranceTemp();
Collection<EnumTemperature> toleratedTemperatures = AlleleManager.climateHelper.getToleratedTemperature(beeTemperature, temperatureTolerance);
boolean validTemp = false;
validTemp = toleratedTemperatures.contains(EnumTemperature.getFromValue(temperature));
if (!validTemp)
return false;
EnumHumidity beeHumidity = genome.getPrimary().getHumidity();
EnumTolerance humidityTolerance = genome.getToleranceHumid();
Collection<EnumHumidity> toleratedHumidity = AlleleManager.climateHelper.getToleratedHumidity(beeHumidity, humidityTolerance);
boolean validHumidity = false;