mojira.dev
MC-65385

Worldborder center doesn't work with ~

When I was testing the worldborder command I noticed that when using ~ It rounded it to .5, I would be more happy with .0

What I expected to happen was...:
For the command to use the players relative concordats (ex. .0 .1 .2 ...)

What actually happened was...:
Instead it just puts a .5 at the end

Steps to Reproduce:
1. /worldborder set 4
2. /worldborder center ~ ~
3. You can see in the chat log it says .5 at the end of the cords and, if you what it to be .0, the border is weirdly placed so its not so it doesn't fit right on all the blocks
OR (with commandblocks)
1. /worldborder set 4
2. /execute @p ~ ~ ~ worldborder center ~ ~
3. You can see in the chat log it says .5 at the end of the cords and, if you what it to be .0, the border is weirdly placed so its not so it doesn't fit right on all the blocks

Comments 2

As a work around you can use ~-0.5 ~-0.5

using ~ uses middle of the blocks.

nick haines

(Unassigned)

Unconfirmed

Minecraft 14w31a

Retrieved