mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-08 03:22:19 +01:00
Clarify what "return false" in onCommand does.
By: md_5 <git@md-5.net>
This commit is contained in:
parent
3e7386bf29
commit
c6cddd3663
1 changed files with 4 additions and 1 deletions
|
@ -6,7 +6,10 @@ package org.bukkit.command;
|
|||
public interface CommandExecutor {
|
||||
|
||||
/**
|
||||
* Executes the given command, returning its success
|
||||
* Executes the given command, returning its success.
|
||||
* <br>
|
||||
* If false is returned, then the "usage" plugin.yml entry for this command
|
||||
* (if defined) will be sent to the player.
|
||||
*
|
||||
* @param sender Source of the command
|
||||
* @param command Command which was executed
|
||||
|
|
Loading…
Reference in a new issue