/pay uses wrong currency format (decimals) #2355
Labels
status: open to PR
Low priority enhancements that anyone is welcome to contribute.
type: problem
Problems that are not strictly bugs.
Information
Full output of
/ess version
:EssentialsX config: https://gist.github.com/StiegeRobin/71f4c04d9df8aa123d96a4bc79538ca3
Details
Description
The command
/pay
doesn't take care of thecurrency-symbol-format-locale
setting. When a player want to pay 50 cents seperated with a comma (like it's also displayed with/money
), they will pay 50 euro instead.Steps to reproduce
currency-symbol-format-locale
tode-DE
minimum-pay-amount
to at least0.01
/ess reload
/pay User 100,50
(these are 100 euro and 50 cents)1.005,00
to thatUser
instead of100,50
.Expected behavior
As I've changed the currency format to german, the
/pay
command should also utilize it.The text was updated successfully, but these errors were encountered: