geforkt von Mirrors/Paper
SPIGOT-6641: Use varargs in sendMessage
By: DerFrZocker <derrieple@gmail.com>
Dieser Commit ist enthalten in:
Ursprung
95cc961f13
Commit
146a88e577
@ -20,7 +20,7 @@ public interface CommandSender extends Permissible {
|
|||||||
*
|
*
|
||||||
* @param messages An array of messages to be displayed
|
* @param messages An array of messages to be displayed
|
||||||
*/
|
*/
|
||||||
public void sendMessage(@NotNull String[] messages);
|
public void sendMessage(@NotNull String... messages);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sends this sender a message
|
* Sends this sender a message
|
||||||
@ -36,7 +36,7 @@ public interface CommandSender extends Permissible {
|
|||||||
* @param messages An array of messages to be displayed
|
* @param messages An array of messages to be displayed
|
||||||
* @param sender The sender of this message
|
* @param sender The sender of this message
|
||||||
*/
|
*/
|
||||||
public void sendMessage(@Nullable UUID sender, @NotNull String[] messages);
|
public void sendMessage(@Nullable UUID sender, @NotNull String... messages);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the server instance that this command is running on
|
* Returns the server instance that this command is running on
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren