Merge pull request #110 from ghostflyby/bee_convert

Bee convert should not be localized
This commit is contained in:
Martin Robertz 2023-12-29 13:02:07 +01:00 committed by GitHub
commit 9ad6dd0772
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,6 +77,9 @@ public class ConverterIIndividual implements Converter {
.put(IAlleleInteger.class, (IAlleleConverter<IAlleleInteger>) IAlleleInteger::getValue) .put(IAlleleInteger.class, (IAlleleConverter<IAlleleInteger>) IAlleleInteger::getValue)
.put(IAlleleBoolean.class, (IAlleleConverter<IAlleleBoolean>) IAlleleBoolean::getValue) .put(IAlleleBoolean.class, (IAlleleConverter<IAlleleBoolean>) IAlleleBoolean::getValue)
.put(IAlleleArea.class, (IAlleleConverter<IAlleleArea>) IAlleleArea::getValue) .put(IAlleleArea.class, (IAlleleConverter<IAlleleArea>) IAlleleArea::getValue)
.put(IAlleleTolerance.class, (IAlleleConverter<IAlleleTolerance>) allele-> allele.getValue().toString())
.put(IAlleleFlowers.class, (IAlleleConverter<IAlleleFlowers>) allele-> allele.getProvider().getFlowerType())
.put(IAlleleBeeEffect.class, (IAlleleConverter<IAlleleBeeEffect>) IAllele::getUnlocalizedName)
.put(IAllelePlantType.class, (IAlleleConverter<IAllelePlantType>) IAllelePlantType::getPlantTypes) .put(IAllelePlantType.class, (IAlleleConverter<IAllelePlantType>) IAllelePlantType::getPlantTypes)
.put(IAlleleGrowth.class, (IAlleleConverter<IAlleleGrowth>) .put(IAlleleGrowth.class, (IAlleleConverter<IAlleleGrowth>)
allele -> allele.getProvider().getInfo()) allele -> allele.getProvider().getInfo())