diff --git a/src/main/java/io/graversen/minecraft/rcon/commands/execute/ExecuteCommandBuilders.java b/src/main/java/io/graversen/minecraft/rcon/commands/execute/ExecuteCommandBuilders.java index b79cb4d..e76d4a3 100644 --- a/src/main/java/io/graversen/minecraft/rcon/commands/execute/ExecuteCommandBuilders.java +++ b/src/main/java/io/graversen/minecraft/rcon/commands/execute/ExecuteCommandBuilders.java @@ -36,7 +36,7 @@ public String getTarget() { return target; } - public ExecuteCommand run(BasePositionalCommand command) { + public ExecuteCommand run(ICommand command) { final String compiledCommand = StringSubstitutor.replace( "execute at ${target} run ${command}", Map.of(