Fixes #58 by allowing FML versions 1.8.8+ to be 3-part

This commit is contained in:
Geoff Bourne 2016-01-31 09:13:22 -06:00
parent afa710455d
commit dd0bcda23c

View file

@ -62,17 +62,8 @@ case "$TYPE" in
;;
FORGE|forge)
# norm := the official Minecraft version as Forge is tracking it. dropped the third part starting with 1.8
TYPE=FORGE
case $VANILLA_VERSION in
1.7.*)
norm=$VANILLA_VERSION
;;
*)
norm=`echo "$VANILLA_VERSION" | sed 's/^\([0-9]\+\.[0-9]\+\).*/\1/'`
;;
esac
echo "Checking Forge version information."
case $FORGEVERSION in