Composite Command Test pass

This commit is contained in:
jiahua.liu 2020-05-26 17:02:54 +08:00
parent b66142545c
commit 86f23e5452

View File

@ -144,7 +144,7 @@ abstract class CompositeCommand @JvmOverloads constructor(
val parameter = function.parameters.toMutableList()
if (parameter.isEmpty()){
throw IllegalParameterException("First parameter (receiver for kotlin) for sub commend " + function.name + " from " + this.getPrimaryName() + " should be <out CommandSender>")
throw IllegalParameterException("First parameter (receiver for kotlin) for sub commend " + function.name + " from " + this.primaryName + " should be <out CommandSender>")
}
if (notStatic) {