mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-21 12:42:26 +00:00
Fix BiomeDictionary not collecting correctly.
This commit is contained in:
1 parent
619f83931f
commit
b930704955
1 file changed
+2
-1
@@ -173,6 +173,7 @@ public class BiomeDictionary
|
||||
Preconditions.checkArgument(ForgeRegistries.BIOMES.containsValue(biome), "Cannot add types to unregistered biome %s", biome);
|
||||
|
||||
Collection<Type> supertypes = listSupertypes(types);
|
||||
Collections.addAll(supertypes, types);
|
||||
|
||||
for (Type type : supertypes)
|
||||
{
|
||||
@@ -389,7 +390,7 @@ public class BiomeDictionary
|
||||
|
||||
for (Type sType : Type.byName.values())
|
||||
{
|
||||
if (type.subTypes.contains(type) && supertypes.add(sType))
|
||||
if (sType.subTypes.contains(type) && supertypes.add(sType))
|
||||
next.add(sType);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user