mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-05-19 02:15:34 +00:00
Fix USE_MEOWICE_FLAGS and appearance of Aikars enablement (#3660)
This commit is contained in:
@@ -166,7 +166,7 @@ if isTrue "${USE_MEOWICE_FLAGS}"; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if isTrue "${USE_AIKAR_FLAGS}"; then
|
if isTrue "${USE_AIKAR_FLAGS}" || isTrue "${USE_MEOWICE_FLAGS}"; then
|
||||||
# From https://mcflags.emc.gs/
|
# From https://mcflags.emc.gs/
|
||||||
if isTrue "${USE_MEOWICE_FLAGS}"; then
|
if isTrue "${USE_MEOWICE_FLAGS}"; then
|
||||||
log "Using MeowIce's flags"
|
log "Using MeowIce's flags"
|
||||||
@@ -216,9 +216,13 @@ if isTrue "${USE_AIKAR_FLAGS}"; then
|
|||||||
-XX:SurvivorRatio=32
|
-XX:SurvivorRatio=32
|
||||||
-XX:+PerfDisableSharedMem
|
-XX:+PerfDisableSharedMem
|
||||||
-XX:MaxTenuringThreshold=1
|
-XX:MaxTenuringThreshold=1
|
||||||
-Dusing.aikars.flags=https://mcflags.emc.gs
|
|
||||||
-Daikars.new.flags=true
|
|
||||||
"
|
"
|
||||||
|
if isTrue "${USE_AIKAR_FLAGS}"; then
|
||||||
|
JVM_XX_OPTS="${JVM_XX_OPTS}
|
||||||
|
-Dusing.aikars.flags=https://mcflags.emc.gs
|
||||||
|
-Daikars.new.flags=true
|
||||||
|
"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if isTrue "${USE_MEOWICE_FLAGS}"; then
|
if isTrue "${USE_MEOWICE_FLAGS}"; then
|
||||||
|
|||||||
Reference in New Issue
Block a user