mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-16 06:30:46 +01:00
Added player.performCommand(String)
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
be759ba36e
commit
595cb5d166
1 changed files with 8 additions and 0 deletions
|
@ -69,4 +69,12 @@ public interface Player extends HumanEntity {
|
|||
* @return
|
||||
*/
|
||||
public void kickPlayer(String message);
|
||||
|
||||
/**
|
||||
* Makes the player perform the given command
|
||||
*
|
||||
* @param command Command to perform
|
||||
* @return true if the command was successful, otherwise false
|
||||
*/
|
||||
public boolean performCommand(String command);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue