So I’m designing a utility for displaying command help, and it uses an internal command to link the player to other command pages. The command works, and the pagination and all that works. The problem I’m having is when I click text with TextActions.runCommand applied, it chats the text (as me) in the color of what I clicked on, and underlined. I’d rather not post an example of my code, because it links to various other utilities I’m also using, for example I have my own TextBuilder (backed by an actual TextBuilder) to simplify interaction with another utility of my API. If you really want to see the code, the error occurs here and here. There is the possibility that the fault is in the MessageBuilder class, but I doubt it, since most of the methods there delegate directly to the backing TextBuilder.
Here is a screenshot of the behavior:
The very top section of text is the list of commands, the second chat (as me) is the result of clicking the text, and the final chunk of text is the result of actually running the command