
Suspicious sand NBT default state
RobijnenTaart opened this issue ยท 2 comments
Server Implementation
Paper
Server Version
1.21.3
Describe the bug
When running:
//rep yellow sand,suspicious_sand,smooth_sandstone
Error being displayed:
Invalid value for <to> (You are not allowed to use nbt. Lacking permission: worldedit.anyblock.nbt), acceptable values are any pattern.
Solution for problem (FAWE staff suggested):
Make "default" NBT is handled separately.
To Reproduce
- Make a selection.
- //rep yellow sand,suspicious_sand,smooth_sandstone
Expected behaviour
Replace yellow_wool to sand,suspicious_sand,smooth_sandstone
Screenshots / Videos
No response
Error log (if applicable)
No response
Fawe Debugpaste
https://athion.net/ISPaster/paste/view/a66ea62682964555802864f3fbfc6e81
Fawe Version
FastAsyncWorldEdit-Bukkit-2.12.3-SNAPSHOT-1002.jar
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
We could do a check on if the NBT is equal to the default nbt, but I do not know if a simple reference comparison on the default NBT would be enough, and also whether a #equals check would necessarily work either.