Make CommandSender.onDefault in CompositeCommand protected

This commit is contained in:
Him188 2020-08-20 20:13:10 +08:00
parent 61a42d9370
commit 1c5ca81c8b

View File

@ -73,7 +73,7 @@ public abstract class CompositeCommand @JvmOverloads constructor(
}
internal override suspend fun CommandSender.onDefault(rawArgs: Array<out Any>) {
protected override suspend fun CommandSender.onDefault(rawArgs: Array<out Any>) {
sendMessage(usage)
}