Fix Leaf downloads after the move to Fill v3 (#4413)

This commit is contained in:
Wachira Choomsiri authored and GitHub committed 2026-11-25 13:12:46 -06:00
1 parent 56201df6b9
commit 0e2fb80de3
3 files changed
+21 -25

No files matched your search

+6
View File
@@ -141,6 +141,12 @@ fi
# shellcheck source=start-finalExec-jvmFlags
. "$(dirname "$0")/start-finalExec-jvmFlags"
# Leaf exits on the first start if this file doesn't exist
if isType LEAF && [[ ! -e /data/config/leaf-loader.yml ]]; then
mkdir -p /data/config
touch /data/config/leaf-loader.yml
fi
# Handle GTNH args
if isType "GTNH"; then
expandedDOpts="${expandedDOpts} -Dfml.readTimeout=180"