From 595cb5d1664e8ceea3da084a85759c5e4de52410 Mon Sep 17 00:00:00 2001
From: Bukkit/Spigot <noreply+git-bukkit@papermc.io>
Date: Fri, 28 Jan 2011 09:15:43 +0000
Subject: [PATCH] Added player.performCommand(String)

By: Dinnerbone <dinnerbone@dinnerbone.com>
---
 paper-api/src/main/java/org/bukkit/entity/Player.java | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/paper-api/src/main/java/org/bukkit/entity/Player.java b/paper-api/src/main/java/org/bukkit/entity/Player.java
index 3baaa0d611..d917b55ff5 100644
--- a/paper-api/src/main/java/org/bukkit/entity/Player.java
+++ b/paper-api/src/main/java/org/bukkit/entity/Player.java
@@ -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);
 }