Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

send(CommandSender) not working #36

Closed
anna-is-cute opened this issue Jul 20, 2014 · 0 comments · Fixed by #38
Closed

send(CommandSender) not working #36

anna-is-cute opened this issue Jul 20, 2014 · 0 comments · Fixed by #38

Comments

@anna-is-cute
Copy link

Firstly, No toString()
I've narrowed it down to the following:
Calling FancyMessage.send(CommandSender) will lead it to toOldMessageFormat() (in the case of the CommandSender not being a Player, which is true for the ConsoleCommandSender), which then uses a StringBuilder to get a textual representation of the FancyMessage. The issue is that it appends the TextualComponent to the StringBuilder, and it has no toString() that outputs the real text. So, the class and hash code are output instead, creating this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant