diff --git a/core/src/main/kotlin/matterlink/bridge/command/PassthroughCommand.kt b/core/src/main/kotlin/matterlink/bridge/command/PassthroughCommand.kt index cbac315..258ce61 100644 --- a/core/src/main/kotlin/matterlink/bridge/command/PassthroughCommand.kt +++ b/core/src/main/kotlin/matterlink/bridge/command/PassthroughCommand.kt @@ -5,7 +5,7 @@ import matterlink.instance class PassthroughCommand(override val name: String, val cmd: String) : IBridgeCommand { 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."