mojira.dev
MC-121743

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 MC-97196

How to reproduce

  1. Change your OS locale to for example German

  2. Use the following command

    /spreadplayers ~ ~ 0 1 false @s

    → A comma is used as decimal separator for the distance

Linked issues

Comments 3

/data get <Some selection> <Some path> 1.0 gives 1,00 as well. Probably universal.

Yes, of course, my bad.

marcono1234

michael

Confirmed

/data, /spreadplayers, command-feedback, locale

Minecraft 17w45a, Minecraft 17w45b, Minecraft 17w48a, Minecraft 17w50a, Minecraft 18w02a, Minecraft 18w16a

Minecraft 18w20a

Retrieved