summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/bukkit/event/player/PlayerListener.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/event/player/PlayerListener.java b/src/main/java/org/bukkit/event/player/PlayerListener.java
index b98c2e58..e2760acc 100644
--- a/src/main/java/org/bukkit/event/player/PlayerListener.java
+++ b/src/main/java/org/bukkit/event/player/PlayerListener.java
@@ -43,10 +43,13 @@ public class PlayerListener implements Listener {
}
/**
- * Called when a player attempts to use a command
+ * Called when a player attempts to use a command. Avoid using this
+ * when possible -- it won't be removed, but this is not how you
+ * handle commands.
*
* @param event Relevant event details
*/
+ @Deprecated
public void onPlayerCommand(PlayerChatEvent event) {
}