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

Method dispatchCommand

src/main/java/org/bukkit/Bukkit.java:692–694  ·  view source on GitHub ↗

Dispatches a command on this server, and executes it if found. @param sender the apparent sender of the command @param commandLine the command + arguments. Example: test abc 123 @return returns false if no target is found @throws CommandException thrown when the executor for the gi

(@NotNull CommandSender sender, @NotNull String commandLine)

Source from the content-addressed store, hash-verified

690 * fails with an unhandled exception
691 */
692 public static boolean dispatchCommand(@NotNull CommandSender sender, @NotNull String commandLine) throws CommandException {
693 return server.dispatchCommand(sender, commandLine);
694 }
695
696 /**
697 * Adds a recipe to the crafting manager.

Callers 1

executeMethod · 0.95

Calls 1

dispatchCommandMethod · 0.65

Tested by

no test coverage detected