public class LeaveCommand extends AbstractPlayerCommand
Command for leav operations. Registered with the command system and callable by players.
java.lang.Object > AbstractPlayerCommand > LeaveCommand
Field Summary
playerComponent
final
Player
playerComponent
Field playerComponent.
portalWorldResource
final
PortalWorld
portalWorldResource
Field portalWorldResource.
uncursedAny
final
boolean
uncursedAny
Field uncursedAny.
Method Detail
LeaveCommand
public
public
LeaveCommand
()
Method LeaveCommand.
execute
protected
void
execute
(@Nonnull final CommandContext context, @Nonnull final Store store, @Nonnull final Ref ref, @Nonnull final PlayerRef playerRef, @Nonnull final World world)
Method execute.
- Parameters:
@Nonnull final CommandContextcontext@Nonnull final Storestore@Nonnull final Refref@Nonnull final PlayerRefplayerRef@Nonnull final Worldworld