Class CommandEvent
java.lang.Object
com.sk89q.worldedit.event.AbstractCancellable
com.sk89q.worldedit.event.platform.CommandEvent
- All Implemented Interfaces:
Cancellable
This class is currently only for internal use. Do not post or catch this event.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetActor()
Get the actor that issued the command.Get the arguments.Methods inherited from class com.sk89q.worldedit.event.AbstractCancellable
isCancelled, setCancelled
-
Constructor Details
-
CommandEvent
Create a new instance.- Parameters:
actor
- the playerarguments
- the arguments
-
-
Method Details
-
getActor
Get the actor that issued the command.- Returns:
- the actor that issued the command
-
getArguments
Get the arguments.- Returns:
- the arguments
-