Skip to content

Commit d1da61d

Browse files
Fix USE_MEOWICE_FLAGS and appearance of Aikars enablement (#3660)
1 parent ac805a4 commit d1da61d

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

scripts/start-finalExec

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ if isTrue "${USE_MEOWICE_FLAGS}"; then
166166
fi
167167
fi
168168

169-
if isTrue "${USE_AIKAR_FLAGS}"; then
169+
if isTrue "${USE_AIKAR_FLAGS}" || isTrue "${USE_MEOWICE_FLAGS}"; then
170170
# From https://mcflags.emc.gs/
171171
if isTrue "${USE_MEOWICE_FLAGS}"; then
172172
log "Using MeowIce's flags"
@@ -216,9 +216,13 @@ if isTrue "${USE_AIKAR_FLAGS}"; then
216216
-XX:SurvivorRatio=32
217217
-XX:+PerfDisableSharedMem
218218
-XX:MaxTenuringThreshold=1
219-
-Dusing.aikars.flags=https://mcflags.emc.gs
220-
-Daikars.new.flags=true
221219
"
220+
if isTrue "${USE_AIKAR_FLAGS}"; then
221+
JVM_XX_OPTS="${JVM_XX_OPTS}
222+
-Dusing.aikars.flags=https://mcflags.emc.gs
223+
-Daikars.new.flags=true
224+
"
225+
fi
222226
fi
223227

224228
if isTrue "${USE_MEOWICE_FLAGS}"; then

0 commit comments

Comments
 (0)