Merge pull request #156 from dirkcjelli/mc_fixes

minecraft-server: Fixed FORGEVERSION case, add support for BIOMESOP
Fixes #139
This commit is contained in:
Geoff Bourne
2017-06-07 21:00:39 -05:00
committed by GitHub

View File

@@ -470,7 +470,7 @@ if [ ! -e server.properties ]; then
echo "Setting level type to $LEVEL_TYPE"
# check for valid values and only then set
case $LEVEL_TYPE in
DEFAULT|FLAT|LARGEBIOMES|AMPLIFIED|CUSTOMIZED)
DEFAULT|FLAT|LARGEBIOMES|AMPLIFIED|CUSTOMIZED|BIOMESOP)
sed -i "/level-type\s*=/ c level-type=$LEVEL_TYPE" /data/server.properties
;;
*)