mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2025-01-26 10:11:21 +01:00
Hopefully made MI stat placeholders use . as dec separator
This commit is contained in:
parent
edd2781fc4
commit
84370f3a3d
@ -21,10 +21,16 @@ import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.text.DecimalFormat;
|
||||
import java.text.DecimalFormatSymbols;
|
||||
|
||||
public class MMOItemsPlaceholders extends PlaceholderExpansion {
|
||||
private final DecimalFormat oneDigit = new DecimalFormat("0.#"), twoDigits = new DecimalFormat("0.##");
|
||||
|
||||
public MMOItemsPlaceholders() {
|
||||
oneDigit.setDecimalFormatSymbols(DecimalFormatSymbols.getInstance());
|
||||
twoDigits.setDecimalFormatSymbols(DecimalFormatSymbols.getInstance());
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getAuthor() {
|
||||
return "Indyuce";
|
||||
|
Loading…
Reference in New Issue
Block a user