Let's simplify MessageReceiver's method sendMessage()

Because Text.of doesn’t use TextSeriaizers? I don’t quite understand your question…

Sorry, I don’t know, I’m tired :stuck_out_tongue:

True, I didn’t notice that. My bad.

Having a basic sendMessage(String) is ambiguous with sendMessage(Object...) due to the nature of Java. On top of that, we would be dictating functionality that plugin authors may not necessarily like for certain contexts.

But so is this (right? at least for two arguments?):

@codeHusky is probably right… it may be best to just have the single sendMessage(Object....) method

I have tried methods like the ones we have described and my compiler doesn’t mention ambiguity, and having tested it Java sends it to the right methods; however there is still the issue of providing formatting forcefully that may not be desired.

So what are we sticking with?

Opening an issue: Issues · SpongePowered/SpongeAPI · GitHub