Setting sculk blocks needs worldedit.anyblock.nbt permission
Schuwi opened this issue ยท 3 comments
Server Implementation
Paper
Server Version
1.19.2
Describe the bug
Trying to use any of "sculk_shrieker", "sculk_sensor" or "sculk_catalyst" as a block pattern e.g. in the //set command requires the "worldedit.anyblock.nbt" unlike any other block.
I am not sure whether this is intended behaviour. If it is could you please explain why?
To Reproduce
- Make sure you do not have the "worldedit.anyblock.nbt" permission but otherwise permissions to use worldedit.
- Execute a command taking a block pattern such as //set with "sculk_shrieker", "sculk_sensor" or "sculk_catalyst" as pattern.
- Observe the error message: " Invalid value for (You are not allowed to use nbt. Lacking permission: worldedit.anyblock.nbt), acceptable values are any patterns".
Expected behaviour
No additional permission should be required than with any other block. The command should succeed.
Screenshots / Videos
No response
Error log (if applicable)
No response
Fawe Debugpaste
https://athion.net/ISPaster/paste/view/ad3e672959034a7593dea63bbe1768bf
Fawe Version
FastAsyncWorldEdit version 2.5.1-SNAPSHOT-332;f8acaf5
Checklist
- I have included a Fawe debugpaste.
- I am using the newest build from https://ci.athion.net/job/FastAsyncWorldEdit/ and the issue still persists.
Anything else?
No response
No additional permission should be required than with any other block.
I tend to disagree. Sculk blocks can have specific nbt data set and fall into the same protection category like other nbt-heavy blocks.
Thank you for your response.
I was misinformed. I did not know of any other block requiring this permission but I just found out that containers like chests and barrels also require this permission.
However I could not find any documentation on this permission and am not quite clear over what this permission is intended to achieve. Any block entities such as beacons, jukeboxes can have attached NBT data but those do not require the permission. Also the documentation on block patterns does not mention a way to actually set any NBT data so I do not understand what this permission is protecting against.
Apart from that, according to the information I can find on the Minecraft Wiki, out of the sculk blocks only the Sculk Catalyst has special NBT data attached.