Fix BiomeDictionary not collecting correctly.

This commit is contained in:
LexManos authored and mezz committed 2017-06-28 23:17:17 -07:00
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);
}
}