WorldEdit

WorldEdit

43M Downloads

Negative number in butcher radius allows for a larger butcher size.

LadyCailinBot opened this issue ยท 3 comments

commented

WORLDEDIT-3428 - Reported by rtcabooservb

WorldEdit 6.1.1 dev 3482
ProtocolLib dev 273
PaperSpigot dev 706
MC version 1.9


    butcher-radius:
        default: 15
        maximum: 25

Apparently if you add a negative number for radius size with the butcher command, it butchers in a larger radius. /butcher -25 for example, as made apparent by people exploiting the command.

From my testing;

102 mobs for 25 radius.
405 mobs for -25 radius.

Similar numbers each time tested.

commented

Comment by wizjany

your math makes no sense, since a -25 radius should be exactly equal to a 25 radius, but i've gone ahead and disallowed negative numbers anyway (aside from -1, which is a special case for "all").

commented

Comment by rtcabooservb

Well, it didn't equate to a 25 block radius. It was butchering much more than the equivalent without the negative.

Is it not possible to force a radius on everyone, so people can't globally butcher on all loaded chunks? I would prefer to enforce a radius so players can't use the special case for 'all'. Separate permissions to use each special flag would be nice to have as well.

commented

Comment by wizjany

not sure what you mean. if they use -1, and the max is set to, say, 50, it treats -1 as greater than 50, it would clamp it "down" to 50.