From b930704955e98374ba462c574c886077ef3a2c1d Mon Sep 17 00:00:00 2001 From: LexManos Date: Tue, 27 Jun 2017 14:04:51 -0700 Subject: [PATCH] Fix BiomeDictionary not collecting correctly. --- src/main/java/net/minecraftforge/common/BiomeDictionary.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/net/minecraftforge/common/BiomeDictionary.java b/src/main/java/net/minecraftforge/common/BiomeDictionary.java index d761280f8b..0e752d4355 100644 --- a/src/main/java/net/minecraftforge/common/BiomeDictionary.java +++ b/src/main/java/net/minecraftforge/common/BiomeDictionary.java @@ -173,6 +173,7 @@ public class BiomeDictionary Preconditions.checkArgument(ForgeRegistries.BIOMES.containsValue(biome), "Cannot add types to unregistered biome %s", biome); Collection 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); } }