mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-07-14 20:44:54 +00:00
Auto-merging via docker-versions-create
This commit is contained in:
@@ -133,7 +133,7 @@ By default, the container will download the latest version of the "vanilla" [Min
|
|||||||
* [Running on RaspberryPi](#running-on-raspberrypi)
|
* [Running on RaspberryPi](#running-on-raspberrypi)
|
||||||
* [Contributing](#contributing)
|
* [Contributing](#contributing)
|
||||||
|
|
||||||
<!-- Added by: runner, at: Fri Dec 3 01:28:09 UTC 2021 -->
|
<!-- Added by: runner, at: Fri Dec 3 14:07:51 UTC 2021 -->
|
||||||
|
|
||||||
<!--te-->
|
<!--te-->
|
||||||
|
|
||||||
@@ -484,8 +484,6 @@ By default, the "stable" channel is used, but you can set `MAGMA_CHANNEL` to "de
|
|||||||
|
|
||||||
### Running a Mohist server
|
### 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
|
A [Mohist](https://github.com/MohistMC/Mohist) server can be used with
|
||||||
|
|
||||||
-e TYPE=MOHIST
|
-e TYPE=MOHIST
|
||||||
|
|||||||
+3
-1
@@ -113,7 +113,9 @@ function normalizeMemSize() {
|
|||||||
|
|
||||||
function versionLessThan() {
|
function versionLessThan() {
|
||||||
local activeParts
|
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
|
local givenParts
|
||||||
IFS=. read -ra givenParts <<<"$1"
|
IFS=. read -ra givenParts <<<"$1"
|
||||||
|
|||||||
Reference in New Issue
Block a user