[Suggestion]Rubber Trees in mod added biomes

  • Hey guys, I was looking at the IC2 code to try and see how your rubber trees were being generated, because they aren't appearing the biomes added by my mod TFCraft. I noticed that you are doing a straight check off of the variables in biomegenbase. I think it would be good if you changed your checks from

    Code
    if (biomegenbase == BiomeGenBase.forest)

    to something more like

    Code
    if (if(biomegenbase.biomeName.toLowerCase().contains("forest")))

    or

    Code
    if (if(biomegenbase.biomeName.toLowerCase().contains("swamp")))


    Doing this will allow modded biomes of a similar type to be capable of spawning your rubber trees.