mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-07 16:57:42 +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 {
|
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 sender Source of the command
|
||||||
* @param command Command which was executed
|
* @param command Command which was executed
|
||||||
|
Loading…
Reference in New Issue
Block a user