Update CommandExtensions.kt
This commit is contained in:
@@ -7,6 +7,7 @@ import org.bukkit.command.TabCompleter
|
|||||||
/**
|
/**
|
||||||
* Registers this CommandExecutor for
|
* Registers this CommandExecutor for
|
||||||
* the given command.
|
* the given command.
|
||||||
|
* @return If the command was registered successfully.
|
||||||
*/
|
*/
|
||||||
fun CommandExecutor.register(commandName: String): Boolean {
|
fun CommandExecutor.register(commandName: String): Boolean {
|
||||||
KSpigotMainInstance.getCommand(commandName)?.let {
|
KSpigotMainInstance.getCommand(commandName)?.let {
|
||||||
|
Reference in New Issue
Block a user