mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-09-16 02:47:58 +00:00
Fixes #58 by allowing FML versions 1.8.8+ to be 3-part
This commit is contained in:
@@ -62,17 +62,8 @@ case "$TYPE" in
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
FORGE|forge)
|
FORGE|forge)
|
||||||
# norm := the official Minecraft version as Forge is tracking it. dropped the third part starting with 1.8
|
|
||||||
TYPE=FORGE
|
TYPE=FORGE
|
||||||
case $VANILLA_VERSION in
|
norm=$VANILLA_VERSION
|
||||||
1.7.*)
|
|
||||||
norm=$VANILLA_VERSION
|
|
||||||
;;
|
|
||||||
|
|
||||||
*)
|
|
||||||
norm=`echo "$VANILLA_VERSION" | sed 's/^\([0-9]\+\.[0-9]\+\).*/\1/'`
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
echo "Checking Forge version information."
|
echo "Checking Forge version information."
|
||||||
case $FORGEVERSION in
|
case $FORGEVERSION in
|
||||||
|
|||||||
Reference in New Issue
Block a user