From 8884efbd9077b5ed7e7fc3f20ec854a7331460e6 Mon Sep 17 00:00:00 2001 From: Michael <12646562+mbround18@users.noreply.github.com> Date: Sat, 6 Feb 2021 21:11:01 -0700 Subject: [PATCH] Extra world argument fixed (#10) --- src/files/start_server_rusty.rs | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/files/start_server_rusty.rs b/src/files/start_server_rusty.rs index b3b4bbea..c51c9e20 100644 --- a/src/files/start_server_rusty.rs +++ b/src/files/start_server_rusty.rs @@ -10,13 +10,12 @@ cd "$(dirname "$0")" # This script will be overwritten at each start! # Launch Command -{command} \ - -port {port} \ - -name "{name}" \ - -world "{world}" \ - -world "{world}" \ - -password "{password}" \ - -public 1 \ +{command} \ + -port {port} \ + -name "{name}" \ + -world "{world}" \ + -password "{password}" \ + -public 1 \ 2>&1 | tee ./output.log > /dev/null 2>&1 & # Capture the PID