mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-21 15:23:50 -07:00
Deprecated PlayerListener.onPlayerCommand(PlayerChatEvent event).
By: sk89q <the.sk89q@gmail.com>
This commit is contained in:
@@ -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
|
* @param event Relevant event details
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public void onPlayerCommand(PlayerChatEvent event) {
|
public void onPlayerCommand(PlayerChatEvent event) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user