mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-05 16:49:39 +00:00
Added player.performCommand(String)
This commit is contained in:
parent
54059e34bb
commit
fb5ab3b5d6
1 changed files with 8 additions and 0 deletions
|
@ -69,4 +69,12 @@ public interface Player extends HumanEntity {
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
public void kickPlayer(String message);
|
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…
Add table
Reference in a new issue