mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-31 22:22:49 +00:00
Deprecated PlayerListener.onPlayerCommand(PlayerChatEvent event).
This commit is contained in:
parent
eb150b642f
commit
69d3880730
1 changed files with 4 additions and 1 deletions
|
@ -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) {
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue