mirror of
https://github.com/msmhq/msm.git
synced 2024-08-30 18:12:35 +00:00
Improved server creation to not require the "minecraft" jar group to be present.
This commit is contained in:
parent
af15359935
commit
4addb6dd9a
4
init/msm
4
init/msm
@ -707,8 +707,12 @@ server_create() {
|
|||||||
# to ensure it is recognised.
|
# to ensure it is recognised.
|
||||||
init
|
init
|
||||||
|
|
||||||
|
# TODO: Handle server default setup stuff better than just using
|
||||||
|
# the "minecraft" jar group. And make it configurable.
|
||||||
|
if [ -d "$JAR_STORAGE_PATH/minecraft" ]; then
|
||||||
server_set_jar "$(server_get_id "$1")" "minecraft"
|
server_set_jar "$(server_get_id "$1")" "minecraft"
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user