Fix addTypes not adding in the base types. (#3681)

This commit is contained in:
Ivorius 2017-02-05 18:47:07 +01:00 committed by LexManos
parent 3e568b864e
commit 3379ee7df2

View file

@ -179,7 +179,9 @@ public class BiomeDictionary
type.biomes.add(biome);
}
getBiomeInfo(biome).types.addAll(supertypes);
BiomeInfo biomeInfo = getBiomeInfo(biome);
Collections.addAll(biomeInfo.types, types);
biomeInfo.types.addAll(supertypes);
}
/**