Skip to content

Commit

Permalink
Cleaned up UltraEconomy integration
Browse files Browse the repository at this point in the history
  • Loading branch information
WillFP committed Nov 29, 2022
1 parent 7cb905e commit c57c824
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import java.util.function.Function

class PriceFactoryUltraEconomy(private val currency: Currency) : PriceFactory {
override fun getNames(): List<String> {
return "ultraeconomy:${currency.name.lowercase()}".toSingletonList()
return currency.name.lowercase().toSingletonList()
}

override fun create(baseContext: MathContext, function: Function<MathContext, Double>): Price {
Expand Down

0 comments on commit c57c824

Please sign in to comment.