From d1da61d0deef83a1e04ddc7e0cd15e8fd01d0fbf Mon Sep 17 00:00:00 2001 From: kingcavespider1 <40778428+kingcavespider1@users.noreply.github.com> Date: Sun, 21 Sep 2025 10:10:51 -0400 Subject: [PATCH] Fix USE_MEOWICE_FLAGS and appearance of Aikars enablement (#3660) --- scripts/start-finalExec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/scripts/start-finalExec b/scripts/start-finalExec index c5ccfe9e..55ac4c2e 100755 --- a/scripts/start-finalExec +++ b/scripts/start-finalExec @@ -166,7 +166,7 @@ if isTrue "${USE_MEOWICE_FLAGS}"; then fi fi -if isTrue "${USE_AIKAR_FLAGS}"; then +if isTrue "${USE_AIKAR_FLAGS}" || isTrue "${USE_MEOWICE_FLAGS}"; then # From https://mcflags.emc.gs/ if isTrue "${USE_MEOWICE_FLAGS}"; then log "Using MeowIce's flags" @@ -216,9 +216,13 @@ if isTrue "${USE_AIKAR_FLAGS}"; then -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -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 if isTrue "${USE_MEOWICE_FLAGS}"; then