General update

This commit is contained in:
bluefireoly
2020-08-27 20:51:46 +02:00
parent 64bbc55649
commit f46fa5d658
10 changed files with 356 additions and 30 deletions

View File

@@ -14,7 +14,7 @@ interface RegisterableCommand : CommandExecutor {
* false if not
*/
fun registerCommand(commandName: String, kSpigot: KSpigot): Boolean {
kSpigot.plugin.getCommand(commandName)?.let {
kSpigot.getCommand(commandName)?.let {
it.setExecutor(this)
if (this is TabCompleter)
it.tabCompleter = this