mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2025-01-03 06:37:47 +01:00
stat placeholders now use MythicLib configurated decimal separator
This commit is contained in:
parent
d51d587e5a
commit
60d0065706
@ -27,8 +27,8 @@ public class MMOItemsPlaceholders extends PlaceholderExpansion {
|
|||||||
private final DecimalFormat oneDigit = new DecimalFormat("0.#"), twoDigits = new DecimalFormat("0.##");
|
private final DecimalFormat oneDigit = new DecimalFormat("0.#"), twoDigits = new DecimalFormat("0.##");
|
||||||
|
|
||||||
public MMOItemsPlaceholders() {
|
public MMOItemsPlaceholders() {
|
||||||
oneDigit.setDecimalFormatSymbols(DecimalFormatSymbols.getInstance());
|
oneDigit.setDecimalFormatSymbols(MythicLib.plugin.getMMOConfig().formatSymbols);
|
||||||
twoDigits.setDecimalFormatSymbols(DecimalFormatSymbols.getInstance());
|
twoDigits.setDecimalFormatSymbols(MythicLib.plugin.getMMOConfig().formatSymbols);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user