public final class PluginCommandUtils
extends java.lang.Object
PluginCommand. The constructor is marked as protected hence why this
is in this exact package.| Modifier and Type | Method and Description |
|---|---|
static @NotNull org.bukkit.command.PluginCommand |
createPluginCommand(@NotNull java.lang.String name,
@NotNull org.bukkit.plugin.Plugin owner)
Creates a plugin command.
|
@NotNull
public static @NotNull org.bukkit.command.PluginCommand createPluginCommand(@NotNull
@NotNull java.lang.String name,
@NotNull
@NotNull org.bukkit.plugin.Plugin owner)
name - The name of the command to instantiate.owner - The plugin that owns this command.