mirror of
https://github.com/msmhq/msm.git
synced 2024-08-30 18:12:35 +00:00
Merge pull request #192 from IronTetsubo/pull1
Fixed some minor typos I noticed while coding, all completely cosmetic.
This commit is contained in:
commit
0b0837c299
6
init/msm
6
init/msm
@ -1660,7 +1660,7 @@ server_connected() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# Sets the valud of a server property
|
# Sets the value of a server property
|
||||||
# $1: The ID of the server
|
# $1: The ID of the server
|
||||||
# $2: The name of the server property
|
# $2: The name of the server property
|
||||||
# $3: The value for the property
|
# $3: The value for the property
|
||||||
@ -1705,7 +1705,7 @@ server_property() {
|
|||||||
if [[ -z "${VERSIONS_NEWEST_MINECRAFT_PATH}" ]]; then
|
if [[ -z "${VERSIONS_NEWEST_MINECRAFT_PATH}" ]]; then
|
||||||
msm_warning "No version set for server, and no default found. Please use 'msm update' to download defaults"
|
msm_warning "No version set for server, and no default found. Please use 'msm update' to download defaults"
|
||||||
else
|
else
|
||||||
msm_info "Assuming 'minecraft/${VERSIONS_NEWEST_MINECRAFT_VERSION}' for this server.You should override this value by adding 'msm-version=minecraft/x.x.x' to '${SERVER_CONF[$1]}' to make this message go away"
|
msm_info "Assuming 'minecraft/${VERSIONS_NEWEST_MINECRAFT_VERSION}' for this server. You should override this value by adding 'msm-version=minecraft/x.x.x' to '${SERVER_CONF[$1]}' to make this message go away"
|
||||||
SERVER_VERSION_CONF[$1]="${VERSIONS_NEWEST_MINECRAFT_PATH}"
|
SERVER_VERSION_CONF[$1]="${VERSIONS_NEWEST_MINECRAFT_PATH}"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
@ -1772,7 +1772,7 @@ server_property() {
|
|||||||
eval SERVER_$2[$1]=\"\$SETTINGS_DEFAULT_$2\"
|
eval SERVER_$2[$1]=\"\$SETTINGS_DEFAULT_$2\"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
### Post-changes to varibales after loading
|
### Post-changes to variables after loading
|
||||||
|
|
||||||
# If it is a path make that path absolute
|
# If it is a path make that path absolute
|
||||||
if [[ "$2" =~ _PATH$ ]]; then
|
if [[ "$2" =~ _PATH$ ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user