Skip to content

Commit

Permalink
Merge pull request #110 from ghostflyby/bee_convert
Browse files Browse the repository at this point in the history
Bee convert should not be localized
  • Loading branch information
Dream-Master authored Dec 29, 2023
2 parents 0a8fdaa + ef3f254 commit 9ad6dd0
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ private interface IAlleleConverter<A extends IAllele> {
.put(IAlleleInteger.class, (IAlleleConverter<IAlleleInteger>) IAlleleInteger::getValue)
.put(IAlleleBoolean.class, (IAlleleConverter<IAlleleBoolean>) IAlleleBoolean::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(IAlleleGrowth.class, (IAlleleConverter<IAlleleGrowth>)
allele -> allele.getProvider().getInfo())
Expand Down

0 comments on commit 9ad6dd0

Please sign in to comment.