mirror of https://github.com/GeyserMC/Geyser.git
javadocs fixes
Co-authored-by: chris <github@onechris.mozmail.com>
This commit is contained in:
parent
4bd9bfc6c5
commit
f1906f560b
|
@ -104,7 +104,7 @@ public interface Command {
|
|||
boolean isBedrockOnly();
|
||||
|
||||
/**
|
||||
* @deprecated this method will always return an immutable list
|
||||
* @deprecated this method will always return an empty immutable list
|
||||
*/
|
||||
@Deprecated(forRemoval = true)
|
||||
@NonNull
|
||||
|
@ -166,7 +166,8 @@ public interface Command {
|
|||
|
||||
/**
|
||||
* Sets the permission node and its default value. The usage of the default value is platform dependant
|
||||
* and may or may not be used. For example, it may be registered to an underlying server.<br><br>
|
||||
* and may or may not be used. For example, it may be registered to an underlying server.
|
||||
<p>
|
||||
* Extensions may instead listen for {@link GeyserRegisterPermissionsEvent} to register permissions, which
|
||||
* should be used if the same permission is required by multiple commands.
|
||||
*
|
||||
|
|
|
@ -33,7 +33,7 @@ import java.util.Map;
|
|||
|
||||
/**
|
||||
* Called when commands are defined within Geyser.
|
||||
* <br><br>
|
||||
* <p>
|
||||
* This event allows you to register new commands using the {@link #register(Command)}
|
||||
* method and retrieve the default commands defined.
|
||||
*/
|
||||
|
|
|
@ -30,7 +30,7 @@ import org.geysermc.geyser.api.util.TriState;
|
|||
|
||||
/**
|
||||
* Fired by anything that wishes to gather permission nodes and defaults.
|
||||
* <br><br>
|
||||
* <p>
|
||||
* This event is not guaranteed to be fired, as certain Geyser platforms do not have a native permission system.
|
||||
* It can be expected to fire on Geyser-Spigot and Geyser-Standalone.
|
||||
* It may still be fired on other platforms due to a 3rd party.
|
||||
|
|
|
@ -188,7 +188,7 @@ public abstract class GeyserCommand implements org.geysermc.geyser.api.command.C
|
|||
/**
|
||||
* Registers this command to the given command manager.
|
||||
* This method may be overridden to register more than one command.
|
||||
* <br><br>
|
||||
* <p>
|
||||
* The default implementation is that {@link #baseBuilder(CommandManager)} with {@link #execute(CommandContext)}
|
||||
* applied as the handler is registered to the manager.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue