Removed onPlayerCommand (PLAYER_COMMAND) (and fixed Fillr to stop using it)

By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
Bukkit/Spigot
2011-02-26 19:08:12 +00:00
parent 1da9ef3c9f
commit 1595230d40
9 changed files with 63 additions and 105 deletions

View File

@@ -173,13 +173,6 @@ public abstract class Event implements Serializable {
*/
PLAYER_CHAT (Category.PLAYER),
/**
* Called when a player attempts to use a command
*
* @see org.bukkit.event.player.PlayerChatEvent
*/
PLAYER_COMMAND (Category.PLAYER),
/**
* Called when a player early in the command handling process
*

View File

@@ -1,7 +1,6 @@
package org.bukkit.event.player;
import java.util.IllegalFormatException;
import org.bukkit.entity.Player;
import org.bukkit.event.Cancellable;

View File

@@ -42,15 +42,6 @@ public class PlayerListener implements Listener {
public void onPlayerChat(PlayerChatEvent event) {
}
/**
* Called when a player attempts to use a command.
*
* @param event Relevant event details
*/
@Deprecated
public void onPlayerCommand(PlayerChatEvent event) {
}
/**
* Called early in the command handling process. This event is only
* for very exceptional cases and you should not normally use it.