Open DirefulBelt6803 opened 3 days ago
Just add check > 0
I was thinking of adding 3 argument consumers.
This should make Command creation for us and future Plugin maintainers easier
I think a BoundedNumberConsumer<f64>
, or something in that direction would be more flexible.
I've searched existing issues and couldn't find a duplicate.
Operating System
Arch Linux
Server Software Version/Commit
79d2f91
What happened?
Worldborder command can be executed using negative numbers, which can cause the player to be kicked from the game and unable to rejoin. Vanilla minecraft doesn't allow a worldborder less one.
To Reproduce
/worldborder set -1000
Expected behavior
log syntax error "Worldborder cannot be smaller than 1 block wide"