mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 16:27:47 +00:00
Keep order of sources in PackRepository (#9702)
Co-authored-by: dhyces <10985914+dhyces@users.noreply.github.com>
This commit is contained in:
1 parent
e69f5e262a
commit
12d24df4f6
1 file changed
+1
-1
@@ -5,7 +5,7 @@
|
||||
|
||||
public PackRepository(RepositorySource... p_251886_) {
|
||||
- this.f_10497_ = ImmutableSet.copyOf(p_251886_);
|
||||
+ this.f_10497_ = new java.util.HashSet<>(List.of(p_251886_)); //Forge: This needs to be a mutable set, so that we can add to it later on.
|
||||
+ this.f_10497_ = new java.util.LinkedHashSet<>(List.of(p_251886_)); //Forge: This needs to be a mutable set, so that we can add to it later on.
|
||||
}
|
||||
|
||||
public void m_10506_() {
|
||||
|
||||
Reference in new issue
Block a user