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
6
init/msm
6
init/msm
@ -707,7 +707,11 @@ server_create() {
|
||||
# to ensure it is recognised.
|
||||
init
|
||||
|
||||
server_set_jar "$(server_get_id "$1")" "minecraft"
|
||||
# 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"
|
||||
fi
|
||||
fi
|
||||
else
|
||||
return 1
|
||||
|
Loading…
Reference in New Issue
Block a user