mojira.dev
MC-313397

`/worldborder get` rounds the size of the world border to a whole number, unlike `/worldborder set`

The Bug:

/worldborder get rounds the size of the world border to a whole number, unlike /worldborder set.

The /worldborder set and /worldborder add commands show the size of the world border with one decimal place. However, the /worldborder get command rounds it to a whole number, therefore introducing an inconsistency.

Steps to Reproduce:

  1. Set the world border's size to 10.5 by using the command provided below.

    /worldborder set 10.5
  2. Check the world border's size by using the command provided below.

    /worldborder get
  3. Observe if the message in chat says that the world border is 11 blocks wide.

Observed Behavior:

The /worldborder get command rounds the size of the world border to a whole number.

Expected Behavior:

The /worldborder get command would show the size of the world border with one decimal place.

Attachments

Comments 1

Avoma

(Unassigned)

Unconfirmed

Commands

26.3, 26.4 Snapshot 10

Retrieved