From 901e5378c14d626cad432a85ac6bb2e5541115f0 Mon Sep 17 00:00:00 2001 From: DaMachinator Date: Thu, 15 Feb 2018 17:32:10 -0500 Subject: [PATCH] Wrong variable.... --- .../main/kotlin/matterlink/bridge/command/PassthroughCommand.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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."