diff options
author | Freya Murphy <freya@freyacat.org> | 2025-04-11 23:22:19 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-04-11 23:22:19 -0400 |
commit | 64cea95a268a8d1fa1c0144841c035bd1d1d0ea8 (patch) | |
tree | 4bf140f8d903f45bbf7708cb0062e490e696b764 | |
parent | aaa (diff) | |
download | images-64cea95a268a8d1fa1c0144841c035bd1d1d0ea8.tar.gz images-64cea95a268a8d1fa1c0144841c035bd1d1d0ea8.tar.bz2 images-64cea95a268a8d1fa1c0144841c035bd1d1d0ea8.zip |
fix minecraft
-rwxr-xr-x[-rw-r--r--] | minecraft/mcjar | 0 | ||||
-rw-r--r-- | minecraft/mclauncher | 4 |
2 files changed, 2 insertions, 2 deletions
diff --git a/minecraft/mcjar b/minecraft/mcjar index 54e95d5..54e95d5 100644..100755 --- a/minecraft/mcjar +++ b/minecraft/mcjar diff --git a/minecraft/mclauncher b/minecraft/mclauncher index 67428e1..487c929 100644 --- a/minecraft/mclauncher +++ b/minecraft/mclauncher @@ -15,7 +15,7 @@ jvm_args() { printf -- "-XX:G1ReservePercent=20 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 " printf -- "-XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 " printf -- "-XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem " - printf -- "-XX:MaxTenuringThreshold=1 " + printf -- "-XX:MaxTenuringThreshold=1" } # @@ -189,7 +189,7 @@ execute_step_default() { execute_step_forge() { if [ -f "$SERVER_DIR/run.sh" ]; then - echo "$JVMARGS" > "$SERVER_DIR/user_jvm_args.txt" + echo "$JVMARGS" | tr ' ' '\n' > "$SERVER_DIR/user_jvm_args.txt" { chmod +x "$SERVER_DIR/run.sh" || true; } exec "$SERVER_DIR/run.sh" nogui else |