[mc] Fix game mode shorthand handling of s*

For #107
This commit is contained in:
Geoff Bourne committed 2016-10-02 07:50:19 -05:00
1 parent 1e0183a3b1
commit 3348083424
1 file changed
+3 -3
+3 -3
View File
@@ -197,7 +197,7 @@ case "$TYPE" in
# normalize on Spigot for operations below # normalize on Spigot for operations below
TYPE=SPIGOT TYPE=SPIGOT
;; ;;
FORGE|forge) FORGE|forge)
TYPE=FORGE TYPE=FORGE
installForge installForge
@@ -362,7 +362,7 @@ if [ ! -e server.properties ]; then
case ${MODE,,?} in case ${MODE,,?} in
0|1|2|3) 0|1|2|3)
;; ;;
s*) su*)
MODE=0 MODE=0
;; ;;
c*) c*)
@@ -371,7 +371,7 @@ if [ ! -e server.properties ]; then
a*) a*)
MODE=2 MODE=2
;; ;;
s*) sp*)
MODE=3 MODE=3
;; ;;
*) *)