Fix incorrect reference to $latest_minecraft_version

This commit is contained in:
Marcus Whybrow 2012-11-10 16:22:49 +00:00
parent 9247412d75
commit 1de31ea91d

View File

@ -3736,7 +3736,7 @@ load_versions() {
# Determine the newest minecraft version
if [[ "$version_type" == "minecraft" ]]; then
_newest_version "$version" "$latest_minecraft_version"
_newest_version "$version" "$newest_minecraft_version"
newest_minecraft_version="$RETURN"
fi
@ -3758,7 +3758,7 @@ load_versions() {
}
# $1: Version one
# $2: Verions two
# $2: Version two
# $RETURN: The greater version
_newest_version() {
unset RETURN