dispatch

public abstract boolean dispatch(CommandSender sender, String cmdLine)

Looks for the requested command and executes it if found.

Return

returns false if no target is found, true otherwise.

Parameters

sender

The command's sender

cmdLine

command + arguments. Example: "/test abc 123"

Throws

Thrown when the executor for the given command fails with an unhandled exception