mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-30 16:19:03 +01:00
Added Player.chat().
By: sk89q <the.sk89q@gmail.com>
This commit is contained in:
parent
6190a55cad
commit
6a86cbbe8e
1 changed files with 7 additions and 0 deletions
|
@ -57,6 +57,13 @@ public interface Player extends HumanEntity, CommandSender {
|
|||
*/
|
||||
public void kickPlayer(String message);
|
||||
|
||||
/**
|
||||
* Says a message (or runs a command).
|
||||
*
|
||||
* @param msg message to print
|
||||
*/
|
||||
public void chat(String msg);
|
||||
|
||||
/**
|
||||
* Makes the player perform the given command
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue