Mojira Archive
MC-233599

/spreadplayers command does not allow for negative "under" values

The world height has been decreased from 0 to -64, yet the command height limit has not been updated to reflect this. The spreadplayers command does not allow for numbers under values less than 0 still, stating that the number must be above 0 even though the world generates lower now.

To reproduce

 /spreadplayers ~ ~ 0 1 under -1 false @s

Fixed

user-2a4c8

[Mojang] Billy Sjöberg

2021-08-02, 07:31 AM

2022-01-17, 09:33 PM

2022-01-17, 10:52 AM

19

10

Confirmed

Important

Commands

1.17.1 - 1.18.11.17.1, 1.18 Pre-release 5, 1.18 Pre-release 6, 1.18 Pre-release 7, 1.18 Pre-release 8, 1.18 Release Candidate 1, 1.18 Release Candidate 2, 1.18 Release Candidate 3, 1.18 Release Candidate 4, 1.18, 1.18.1 Pre-release 1, 1.18.1 Release Candidate 1, 1.18.1 Release Candidate 2, 1.18.1

22w03a