Feedback of some commands uses OS locale for formatting decimal numbers
The bug
The feedback of some commands uses the OS' locale for formatting decimal numbers.
Affected commands
List might be incomplete, last updated for 17w45b
| Command | Argument(s) | Notes |
|---|---|---|
| data | scale | - |
| spreadplayers | distance | Affects success error message like the ones from |
How to reproduce
- Change your OS locale to for example German
- Use the following command
/spreadplayers ~ ~ 0 1 false @s→ A comma is used as decimal separator for the distance
[Mojang] Searge (Michael Stoyke)
2017-11-09, 08:31 PM
2024-04-11, 01:51 PM
2018-05-14, 06:04 PM
5
2
/data, /spreadplayers, command-feedback, locale