mojira.dev
MC-88481

'/worldborder set' allows small decimal numbers but does not display them correctly in chat

When you use values for the /worldborder set command that change the second decimal place, the command feedback says it changed the worldborder but only displays one decimal place.

How to reproduce

  1. /worldborder center ~ ~

  2. /worldborder set 11

  3. Try walking through the worldborder (it won't work)

  4. /worldborder set 11.01

  5. Try walking through the worldborder (it works even thought it said that size is still 11):

    [Client thread/INFO]: [CHAT] Set world border to 11,0 blocks wide (from 11,0 blocks)

Comments 2

Confirmed for 1.9

marcono1234

(Unassigned)

Confirmed

/worldborder, chat, command-feedback, decimal

Minecraft 15w37a, Minecraft 15w43c, Minecraft 1.9, Minecraft 16w15b, Minecraft 1.10.2, , Minecraft 17w06a, Minecraft 1.12.1, Minecraft 1.12.2 Pre-Release 1, Minecraft 1.12.2 Pre-Release 2, Minecraft 1.12.2

Minecraft 17w46a

Retrieved