mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-24 18:09:41 -05:00
Fixed no command found being sent to the command sender for command handlers which return failure (false)
By: stevenh <steven.hartland@multiplay.co.uk>
This commit is contained in:
1 parent
9469bb110d
commit
e96e0e657f
2 files changed
+6
-2
No files matched your search
@@ -44,7 +44,7 @@ public interface CommandMap {
|
||||
* Looks for the requested command and executes it if found.
|
||||
*
|
||||
* @param cmdLine command + arguments. Example: "/test abc 123"
|
||||
* @return targetFound returns false if no target is found.
|
||||
* @return targetFound returns false if no target is found, true otherwise.
|
||||
* @throws CommandException Thrown when the executor for the given command fails with an unhandled exception
|
||||
*/
|
||||
public boolean dispatch(CommandSender sender, String cmdLine) throws CommandException;
|
||||
|
||||
Reference in new issue
Block a user