MCPcopy Create free account
hub / github.com/Teneted/Tenet / dispatch

Method dispatch

src/main/java/org/bukkit/command/CommandMap.java:80–80  ·  view source on GitHub ↗

Looks for the requested command and executes it if found. @param sender The command's sender @param cmdLine command + arguments. Example: "/test abc 123" @return returns false if no target is found, true otherwise. @throws CommandException Thrown when the executor for the given command fails wi

(@NotNull CommandSender sender, @NotNull String cmdLine)

Source from the content-addressed store, hash-verified

78 * fails with an unhandled exception
79 */
80 public boolean dispatch(@NotNull CommandSender sender, @NotNull String cmdLine) throws CommandException;
81
82 /**
83 * Clears all registered commands.

Callers 2

dispatchCommandMethod · 0.65
onCustomPayloadMethod · 0.65

Implementers 1

SimpleCommandMapsrc/main/java/org/bukkit/command/Simpl

Calls

no outgoing calls

Tested by

no test coverage detected