WorldEdit

WorldEdit

43M Downloads

Butcher default radius not working.

LadyCailinBot opened this issue ยท 7 comments

commented

WORLDEDIT-3139 - Reported by rtcabooservb

Using worldedit dev 3197, worldedit command /butcher does not butcher any mobs. It is not correctly parsing the default radius in the config.

butcher-radius:
    default: 15
    maximum: 25

When I type '/butcher 5', it butchers the mob. So specifying a radius works, just not the command without a radius specified.

commented

Comment by sk89q

What is the chat message that returns?

"Killed ... mobs ... in a radius of ..."?

commented

Comment by sk89q

Actually, do you have it under "limits"?

limits:
    butcher-radius:
        default: 15
        maximum: 25```
commented

Comment by rtcabooservb

Just the command '/butcher' returns 'Killed 0 mobs in a radius of 15.', but does not kill any mobs, even if they are right next to me. If I spawn a zombie and type '/butcher 5', it kills the mob and outputs 'Killed 1 mobs in a radius of 5'.

Edit.

It is under limits, yes. It use to work, just in the newer commits to worldedit, it broke.


limits:
    max-blocks-changed:
        default: -1
        maximum: 50000
    max-polygonal-points:
        default: -1
        maximum: 20
    max-radius: 25
    max-super-pickaxe-size: 5
    max-brush-radius: 5
    butcher-radius:
        default: 15
        maximum: 25
commented

Comment by sk89q

K I will look into it.

Butcher code hasn't changed so this might be a more troubling and deeper bug.

commented

Comment by sk89q

Pushed fix.

commented

Comment by rtcabooservb

Great, thanks!

commented

Comment by rtcabooservb

Confirmed fixed on my end.