@@ -2697,6 +2697,7 @@ case "$COMMAND" in
26972697 ;;
26982698 stop | force-stop)
26992699 # Figure out which worlds to stop.
2700+ WORLDS=" "
27002701 if [ " $# " -ge 1 ]; then
27012702 for arg in " $@ " ; do
27022703 if isWorldEnabled " $arg " ; then
@@ -2753,6 +2754,7 @@ case "$COMMAND" in
27532754 # Grab the latest version information.
27542755 updateVersionsJSON
27552756 # Figure out which worlds to restart.
2757+ WORLDS=" "
27562758 if [ " $# " -ge 1 ]; then
27572759 for arg in " $@ " ; do
27582760 if isWorldEnabled " $arg " ; then
@@ -2910,6 +2912,7 @@ case "$COMMAND" in
29102912 ;;
29112913 disable)
29122914 # Get list of enabled worlds.
2915+ WORLDS=" "
29132916 if [ " $# " -ge 1 ]; then
29142917 for arg in " $@ " ; do
29152918 if isWorldEnabled " $arg " ; then
@@ -2955,6 +2958,7 @@ case "$COMMAND" in
29552958 # Grab the latest version information.
29562959 updateVersionsJSON
29572960 # Get list of disabled worlds.
2961+ WORLDS=" "
29582962 if [ " $# " -ge 1 ]; then
29592963 for arg in " $@ " ; do
29602964 if isWorldDisabled " $arg " ; then
@@ -3052,6 +3056,7 @@ case "$COMMAND" in
30523056 ;;
30533057 status | show | status-json | show-json)
30543058 # Figure out which worlds to show the status for.
3059+ WORLDS=" "
30553060 if [ " $# " -ge 1 ]; then
30563061 for arg in " $@ " ; do
30573062 if isWorldAvailable " $arg " ; then
@@ -3093,6 +3098,7 @@ case "$COMMAND" in
30933098 ;;
30943099 sync | synchronize)
30953100 # Figure out which worlds to synchronize.
3101+ WORLDS=" "
30963102 if [ " $# " -ge 1 ]; then
30973103 for arg in " $@ " ; do
30983104 if isWorldEnabled " $arg " ; then
@@ -3197,6 +3203,7 @@ case "$COMMAND" in
31973203 ;;
31983204 logrotate)
31993205 # Figure out which worlds to rotate the log.
3206+ WORLDS=" "
32003207 if [ " $# " -ge 1 ]; then
32013208 for arg in " $@ " ; do
32023209 if isWorldEnabled " $arg " ; then
@@ -3224,6 +3231,7 @@ case "$COMMAND" in
32243231 ;;
32253232 backup)
32263233 # Figure out which worlds to backup.
3234+ WORLDS=" "
32273235 if [ " $# " -ge 1 ]; then
32283236 for arg in " $@ " ; do
32293237 if isWorldEnabled " $arg " ; then
@@ -3313,6 +3321,7 @@ case "$COMMAND" in
33133321 # Grab the latest version information.
33143322 updateVersionsJSON
33153323 # Figure out which worlds to update.
3324+ WORLDS=" "
33163325 if [ " $# " -ge 1 ]; then
33173326 for arg in " $@ " ; do
33183327 if isWorldEnabled " $arg " ; then
@@ -3387,6 +3396,7 @@ case "$COMMAND" in
33873396 exit 1
33883397 fi
33893398 # Figure out which worlds to map.
3399+ WORLDS=" "
33903400 if [ " $# " -ge 1 ]; then
33913401 for arg in " $@ " ; do
33923402 if isWorldEnabled " $arg " ; then
@@ -3422,6 +3432,7 @@ case "$COMMAND" in
34223432 ;;
34233433 query | query-raw | query-json)
34243434 # Figure out which worlds to show the status for.
3435+ WORLDS=" "
34253436 if [ " $# " -ge 1 ]; then
34263437 for arg in " $@ " ; do
34273438 if isWorldEnabled " $arg " ; then
0 commit comments