mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-06 00:07:56 +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
@ -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 New Issue
Block a user