You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
local servers="$(ls -1 "$SETTINGS_SERVER_STORAGE_PATH")"
@@ -80,9 +80,9 @@ _msm() {
80
80
server_get_id "${COMP_WORDS[1]}"
81
81
local sid="$RETURN"
82
82
fi
83
-
84
83
85
-
local server_path="$SETTINGS_SERVER_STORAGE_PATH/${COMP_WORDS[1]}"
84
+
85
+
local server_path="$SETTINGS_SERVER_STORAGE_PATH/${COMP_WORDS[1]}"
86
86
if [[ "${COMP_WORDS[1]}" == "all" ]] || [ -e "$server_path" ]; then
87
87
if [[ $COMP_CWORD == 2 ]]; then
88
88
options="start stop restart status connected worlds logroll backup jar whitelist blacklist operator gamemode kick say time toggledownfall give xp save cmd cmdlog console config"
@@ -132,7 +132,7 @@ _msm() {
132
132
if [[ $COMP_CWORD == 3 && -d "$SETTINGS_JAR_STORAGE_PATH" ]]; then
133
133
options="$(ls -1 "$SETTINGS_JAR_STORAGE_PATH")"
134
134
fi
135
-
135
+
136
136
if [[ $COMP_CWORD == 4 && -d "$SETTINGS_JAR_STORAGE_PATH/${COMP_WORDS[3]}" ]]; then
137
137
options="$(find "$SETTINGS_JAR_STORAGE_PATH/${COMP_WORDS[3]}" -type f -name "*.jar" -exec basename {} \;)"
0 commit comments