When executing /data remove block either in the console or through functions, the CustomName of a block is not removed.
To recreate:
Create a new world
Place a nameable block at x y z (e.g. furnace, dropper, dispenser, etc.)
Run /data merge block x y z {CustomName:"\\{\"text\":\"Test\"}"}
Run/data remove block x y z CustomName
Following Step 4, the block will still retain the name "Test". This bug is not simply a visual error, as running /data get block x y z CustomName will return {\"text\":\"Test\"}, confirming that the block data was unmodified by Step 4. Attempting to remove other block data, such as Items, remains functional.
Related issues
Comments
No comments.