update msctl for multiple bungeecord versions

Updated msctl to be more compatible with bungeecord and multiple versions.
This commit is contained in:
gee-one 2016-07-24 14:34:28 -05:00 committed by GitHub
parent 0cefa4d601
commit 57b2b534f3

2
msctl
View File

@ -1571,7 +1571,7 @@ worldStatus() {
NUM=$(printf "%s" "$STATUS" | cut -f 19)
MAX=$(printf "%s" "$STATUS" | cut -f 21)
VERSION=$(printf "%s" "$STATUS" | cut -f 13)
printf "running version %s (%d of %d users online).\n" $VERSION $NUM $MAX
printf "running version %s (%d of %d users online).\n" "$VERSION" $NUM $MAX
if [ $NUM -gt 0 ]; then
PLAYERS=$(printf "%s" "$STATUS" | cut -f 30)
COUNTER=1