say command executed as entity doesn't display name in chat
When running /say with the experimental /execute command as an entity, it's name is not displayed between the square brackets in chat. Instead it shows empty square brackets.
Players aswell as mobs with a nametag work as expected.
Steps to Reproduce:
Execute the /say command as an entity that is not a player. For example:
/execute as @e[c=1, type=!player] run say test
2022-08-24, 05:36 PM
2023-02-07, 07:32 PM
2023-02-07, 07:32 PM
4
2
881847