[SPIGOT-6641] sendMessage Created: 12/Jul/21  Updated: 21/Jul/21  Resolved: 21/Jul/21

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Minor
Reporter: JDIALIA Assignee: Unassigned
Resolution: Fixed Votes: 2
Labels: None

Version: Latest
Guidelines Read: Yes

 Description   

Hello, I would like to make a small change to the API so that
you didn’t want to harm it, I want to replace player.sendMessage (String [] messages) with player.sendMessage (String ... messages) this change will not damage the API, that there it will still be possible to pass an array and I want to touch on the implementation,
it would be nice to replace the send loop - String.join ("\ n", array) Note that join is that it is faster in this case, newer versions than using StringBuilder
I apologize for possible mistakes, I am not a native speaker



 Comments   
Comment by Marvin Rieple [ 21/Jul/21 ]

Made a PR for this: bukkit#646

Generated at Tue Apr 22 03:12:18 UTC 2025 using Jira 10.3.5#10030005-sha1:190c783f2bd6c69cd5accdb70f97e48812a78d14.