Update documentation and status of command completion related events
By: md_5 <git@md-5.net>
This commit is contained in:
@@ -3,12 +3,17 @@ package org.bukkit.event.player;
|
||||
import java.util.Collection;
|
||||
|
||||
import org.apache.commons.lang.Validate;
|
||||
import org.bukkit.Warning;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.HandlerList;
|
||||
|
||||
/**
|
||||
* Called when a player attempts to tab-complete a chat message.
|
||||
*
|
||||
* @deprecated This event is no longer fired due to client changes
|
||||
*/
|
||||
@Deprecated
|
||||
@Warning(reason = "This event is no longer fired due to client changes")
|
||||
public class PlayerChatTabCompleteEvent extends PlayerEvent {
|
||||
private static final HandlerList handlers = new HandlerList();
|
||||
private final String message;
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
package org.bukkit.event.player;
|
||||
|
||||
import java.util.Collection;
|
||||
import org.bukkit.Warning;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.HandlerList;
|
||||
|
||||
@@ -13,11 +12,7 @@ import org.bukkit.event.HandlerList;
|
||||
* are not required to securely remove all traces of the command. If secure
|
||||
* removal of commands is required, then the command should be assigned a
|
||||
* permission which is not granted to the player.
|
||||
*
|
||||
* @deprecated draft API
|
||||
*/
|
||||
@Deprecated
|
||||
@Warning(false)
|
||||
public class PlayerCommandSendEvent extends PlayerEvent {
|
||||
|
||||
private static final HandlerList handlers = new HandlerList();
|
||||
|
||||
Reference in New Issue
Block a user