mirror of
https://github.com/xHyroM/lighteco.git
synced 2024-12-22 04:21:06 +01:00
fix(currency-money): format double
This commit is contained in:
parent
7ff6cbde47
commit
58cf77e2b9
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ public class Vault extends AbstractEconomy {
|
|||
NumberFormat format = NumberFormat.getInstance();
|
||||
format.setCurrency(java.util.Currency.getInstance(this.plugin.getConfig().currencyCode));
|
||||
|
||||
return format.format(BigDecimal.valueOf(amount));
|
||||
return format.format(amount);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue