WorldGuard

WorldGuard

8M Downloads

Block-break flag does not extend to shovels

LadyCailinBot opened this issue ยท 4 comments

commented

WORLDGUARD-3751 - Reported by HMenry

Hello,

We are using a protected region for Prison Mines, we have block-break flag set to allow. Blocks can be broken with any item, however when a player attempts to break a block with a shovel, they will get a error message relating to not being able to use that here, even setting the "use" flag to allow does not fix this.

Using WorldGuard Build #1685
Number - #1685-9cafb07
http://builds.enginehub.org/job/worldguard/last-successful?branch=master

Best Wishes

commented

Comment by superblaze27

Hello! I am having the same problem!! Did you find a fix yet?!

commented

Comment by xLoGiiKzZo

I believe this can be fixed by removing the interact flag from the region or allowing it.

commented

Comment by wizjany

this was added because shovels convert grass to paths with an interact only, so interacting with shovels is considering by building permissions, but not directly with a block-place or block-break (since it doesn't actually break or create blocks - just modifies them).
i think to get it to work with block-break/block-place specifically instead of just normal build checks, we'd have to add some special handling.

commented

fairly sure this is no longer an issue since we have a direct item->blocks affected check now.