FastAsyncVoxelSniper

FastAsyncVoxelSniper

33.4k Downloads

Exception happing due to size

OneLiteFeather opened this issue ยท 2 comments

commented

Server Implementation

Paper

Server Version

1.20

Describe the bug

Well if a player is acting weirdly enough to input the following commands, it might break on some brushes.

To Reproduce

I did this:

[21:28:48] [Server thread/INFO]: Seelenretterin issued server command: /b 999999999
[21:29:13] [Server thread/INFO]: Seelenretterin issued server command: /b b
[21:29:20] [Server thread/INFO]: Seelenretterin issued server command: /b b on
[21:29:27] [Server thread/INFO]: Seelenretterin issued server command: /b bb

Expected behaviour

No errors and maybe no execution because the brush size is too high

Screenshots / Videos

No response

Error log (if applicable)

https://paste.gg/p/anonymous/764255d03753430c9f95d63509316121

Favs Debugpaste

https://athion.net/ISPaster/paste/view/53e59984558b491fae93770cce3c8711

Favs Version

2.9.4 (from the Cloud Migration PR)

Checklist

Anything else?

No response

commented

Oh! You're not supposed to use such brush sizes ๐Ÿ˜…. Iirc this brush tries to compute the associated volume from the brush radius.

commented

But good to know now to prevent errors like this ๐Ÿ˜„