Lowered the priority of the old command handler event because a number of plugins were using this event incorrectly. A new event, the command preprocesser event, has replaced the previous function of the original command event.

By: sk89q <the.sk89q@gmail.com>
This commit is contained in:
Bukkit/Spigot
2011-02-19 01:41:33 -08:00
parent d3a7253d68
commit e3b86cda50
3 changed files with 22 additions and 3 deletions

View File

@@ -178,6 +178,13 @@ public abstract class Event {
*/
PLAYER_COMMAND (Category.PLAYER),
/**
* Called when a player early in the command handling process
*
* @see org.bukkit.event.player.PlayerChatEvent
*/
PLAYER_COMMAND_PREPROCESS (Category.PLAYER),
/**
* Called when a player leaves a server
*