Update CommandExtensions.kt

This commit is contained in:
bluefireoly
2020-10-17 00:44:52 +02:00
parent c20604a077
commit a65a781bec

View File

@@ -7,6 +7,7 @@ import org.bukkit.command.TabCompleter
/**
* Registers this CommandExecutor for
* the given command.
* @return If the command was registered successfully.
*/
fun CommandExecutor.register(commandName: String): Boolean {
KSpigotMainInstance.getCommand(commandName)?.let {