mojira.dev
MC-121721

spreadplayers for one entity gives huge number as result for average distance

The bug

Using the /spreadplayers command with only one entity to move shows an incorrect average distance. See the attached screenshot

[media]

.

Expected would be that no distance is displayed.

How to reproduce

/spreadplayers ~ ~ 10 20 false @p

Linked issues

Attachments

Comments 7

Changed the description, I hope you are fine with that.

I am thank you for improving it

Confirmed for 18w14b

Can no longer reproduce. It now just shows "with an average distance of 0.00 blocks apart" which is just as good.

Tip for the reporter and anyone else who happens to see this comment: instead of needing to flush out the chat by spamming a period, there's an f3 shortcut that clears chat. I can't remember it offhand, but you can find it by bringing up the f3 shortcuts help with f3 + Q.

Nico Stehle

Nathan Adams

Confirmed

/spreadplayers

Minecraft 17w45a, Minecraft 17w48a, Minecraft 17w50a, Minecraft 18w02a, Minecraft 18w10c, Minecraft 18w14b, Minecraft 18w15a

Minecraft 1.13-pre3

Retrieved