Added player.performCommand(String)

This commit is contained in:
Dinnerbone
2011-01-28 09:15:43 +00:00
parent 99d78d912c
commit 7989fe0a20

View File

@@ -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);
}