Skip to content

Commit

Permalink
decimal symbols forcererer
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Feb 15, 2020
1 parent abc19fd commit 2bffd9c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -97,7 +97,7 @@ public String autoTagAmount(String value, OfflinePlayer player, double amount) {
amountText = String.valueOf((long) amount);
}
else {
DecimalFormat d = new DecimalFormat("0." + new String(new char[digits]).replace('\0', '0'));
DecimalFormat d = new DecimalFormat("0." + new String(new char[digits]).replace('\0', '0'), CoreUtilities.decimalFormatSymbols);
amountText = d.format(amount);
}
return autoTag(value.replace("<amount", "<element[" + amountText + "]"), player);
Expand Down

0 comments on commit 2bffd9c

Please sign in to comment.