mirror of
https://github.com/msmhq/msm.git
synced 2024-08-30 18:12:35 +00:00
Fix incorrect reference to $latest_minecraft_version
This commit is contained in:
parent
9247412d75
commit
1de31ea91d
4
init/msm
4
init/msm
@ -3736,7 +3736,7 @@ load_versions() {
|
|||||||
|
|
||||||
# Determine the newest minecraft version
|
# Determine the newest minecraft version
|
||||||
if [[ "$version_type" == "minecraft" ]]; then
|
if [[ "$version_type" == "minecraft" ]]; then
|
||||||
_newest_version "$version" "$latest_minecraft_version"
|
_newest_version "$version" "$newest_minecraft_version"
|
||||||
newest_minecraft_version="$RETURN"
|
newest_minecraft_version="$RETURN"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -3758,7 +3758,7 @@ load_versions() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# $1: Version one
|
# $1: Version one
|
||||||
# $2: Verions two
|
# $2: Version two
|
||||||
# $RETURN: The greater version
|
# $RETURN: The greater version
|
||||||
_newest_version() {
|
_newest_version() {
|
||||||
unset RETURN
|
unset RETURN
|
||||||
|
Loading…
Reference in New Issue
Block a user