Removed onPlayerCommand (PLAYER_COMMAND) (and fixed Fillr to stop using it)
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
@@ -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
|
||||
*
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
|
||||
package org.bukkit.event.player;
|
||||
|
||||
import java.util.IllegalFormatException;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.Cancellable;
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user