public class PlayerCommandSendEvent extends PlayerEvent
Event.Result
player
Constructor and Description |
---|
PlayerCommandSendEvent(Player player,
Collection<String> commands) |
Modifier and Type | Method and Description |
---|---|
Collection<String> |
getCommands()
Returns a mutable collection of all top level commands to be sent.
|
static HandlerList |
getHandlerList() |
HandlerList |
getHandlers() |
getPlayer
callEvent, getEventName, isAsynchronous
public PlayerCommandSendEvent(@NotNull Player player, @NotNull Collection<String> commands)
@NotNull public Collection<String> getCommands()
@NotNull public HandlerList getHandlers()
getHandlers
in class Event
@NotNull public static HandlerList getHandlerList()
Copyright © 2022. All rights reserved.