disallowed-blocks list ignored with use-inventory: true
LadyCailinBot opened this issue ยท 0 comments
WORLDEDIT-3295 - Reported by lemadec
After generating default configuration, I'm changing value for limits.disallowed-blocks to allow all but bedrock.
Permissions are set as:
- worldedit.history.*
- worldedit.region.*
- worldedit.selection.*
- worldedit.wand
When use-inventory is set to true:
- you can't actually place iron/diamond ores (which are disabled by default), whether you have said ores in your inventory or not. There's no message in chat or console about those blocks being disabled/disallowed.
=> this is not the expected behavior - you can place emerald ores (which are not disabled by default), provided you've some in your inventory. If my inventory doesn't have them, I do receive a chat message about the missing blocks.
=> this is correct
When use-inventory is set to false:
- you can actually place iron, diamond and emerald ores.
=> this is correct - you can't place bedrock.
=> this is correct
Overall, it appears the disallowed-blocks configuration is forced to default when use-inventory is set to true.
For the record, permission node worldedit.anyblock doesn't seem to work either with use-inventory set to true.
Tested on spigot 1.8.3 with WorldEdit 6.0.2 build 3370, PermissionsEx 1.23.2 and Essentials Spigot build 12.