diff --git a/README.md b/README.md index 30c0b863..8ccee2a1 100644 --- a/README.md +++ b/README.md @@ -133,7 +133,7 @@ By default, the container will download the latest version of the "vanilla" [Min * [Running on RaspberryPi](#running-on-raspberrypi) * [Contributing](#contributing) - + @@ -484,8 +484,6 @@ By default, the "stable" channel is used, but you can set `MAGMA_CHANNEL` to "de ### Running a Mohist server -> **CAUTION** Be sure to [read this article](https://essentialsx.net/do-not-use-mohist.html) to understand the risks associated with using Mohist. - A [Mohist](https://github.com/MohistMC/Mohist) server can be used with -e TYPE=MOHIST diff --git a/scripts/start-utils b/scripts/start-utils index 00f8a9a4..21e57379 100755 --- a/scripts/start-utils +++ b/scripts/start-utils @@ -113,7 +113,9 @@ function normalizeMemSize() { function versionLessThan() { local activeParts - IFS=. read -ra activeParts <<<"${VANILLA_VERSION%%-*}" + version=${VANILLA_VERSION%%-*} # for snapshot/rc versions + version=${version##b} # for versions like b1.7.3 + IFS=. read -ra activeParts <<<"${version}" local givenParts IFS=. read -ra givenParts <<<"$1"