mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-14 01:04:24 +00:00
Fix tag loading being unordered. Closes #9774
This commit is contained in:
1 file changed
+1
-1
@@ -13,7 +13,7 @@
|
||||
|
||||
private Either<Collection<TagLoader.EntryWithSource>, Collection<T>> m_215978_(TagEntry.Lookup<T> p_215979_, List<TagLoader.EntryWithSource> p_215980_) {
|
||||
- ImmutableSet.Builder<T> builder = ImmutableSet.builder();
|
||||
+ var builder = new java.util.HashSet<T>();
|
||||
+ var builder = new java.util.LinkedHashSet<T>(); // Order is important, as ImmutableSet is ordered and some people rely on that. https://github.com/MinecraftForge/MinecraftForge/issues/9774
|
||||
List<TagLoader.EntryWithSource> list = new ArrayList<>();
|
||||
|
||||
for(TagLoader.EntryWithSource tagloader$entrywithsource : p_215980_) {
|
||||
|
||||
Reference in new issue
Block a user