Wrong variable....
This commit is contained in:
parent
62ce5423a3
commit
901e5378c1
|
@ -5,7 +5,7 @@ import matterlink.instance
|
||||||
class PassthroughCommand(override val name: String, val cmd: String) : IBridgeCommand {
|
class PassthroughCommand(override val name: String, val cmd: String) : IBridgeCommand {
|
||||||
|
|
||||||
override fun call(args: String): Boolean {
|
override fun call(args: String): Boolean {
|
||||||
return instance.commandSender.execute("$name $args",100)
|
return instance.commandSender.execute("$cmd $args",100)
|
||||||
}
|
}
|
||||||
|
|
||||||
override val help: String = "No help available for this command."
|
override val help: String = "No help available for this command."
|
||||||
|
|
Loading…
Reference in New Issue