Provide option to apply Cleanroom to any Forge-like server type (#4338)

This commit is contained in:
Geoff Bourne authored and GitHub committed 2026-10-14 20:54:17 -05:00
1 parent 9693e382f3
commit d8cd6f3f38
5 files changed
+81 -48

No files matched your search

+9
View File
@@ -409,4 +409,13 @@ case "X$MODCONFIG" in
esac
fi
if isTrue "${APPLY_CLEANROOM}"; then
if [[ "$VERSION" != "1.12.2" ]]; then
logError "Cleanroom only works with Minecraft version 1.12.2. Current version is $VERSION."
exit 1
fi
# run within the current shell to retain exported environment variables
. "$(dirname "$0")/start-applyCleanroom"
fi
exec "$(dirname "$0")/start-setupMounts" "$@"