diff options
| author | 2025-01-23 00:27:55 -0600 | |
|---|---|---|
| committer | 2025-01-23 00:27:55 -0600 | |
| commit | 89e71b74736725381cdf4fa2d19ba30c4e92a7e4 (patch) | |
| tree | adcc6b38b60c8663ce45a03bf97a8a1f704e0524 /src | |
| parent | fix failing to launch 1.16.5 (diff) | |
fix neoforge regression
Diffstat (limited to 'src')
| -rw-r--r-- | src/version.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/version.rs b/src/version.rs index b844f23..3f5caba 100644 --- a/src/version.rs +++ b/src/version.rs @@ -321,7 +321,9 @@ impl CompleteVersion { self.downloads.entry(*dltype).or_insert_with(|| dl.clone()); } - self.libraries.splice(0..0, other.libraries.iter().cloned()); + // we use extend here instead of splice for library resolution priority reasons + // (libraries earlier in the list will override libraries later in the list) + self.libraries.extend(other.libraries.iter().cloned()); replace_missing!(logging); replace_missing!(main_class); |
