Added an alternate constructor to BOPBiomeEntry for Nether biomes

This commit is contained in:
Adubbz 2014-02-02 12:23:34 +11:00
parent a711956168
commit 20a70cac10

View file

@ -87,6 +87,11 @@ public class BOPBiomeHelper
this.temperatureType = temperatureType; this.temperatureType = temperatureType;
} }
public BOPBiomeEntry(BiomeGenBase biome, int weight)
{
this(biome, TemperatureType.HOT, weight);
}
public void addToCorrespondingTemperatureTypeList() public void addToCorrespondingTemperatureTypeList()
{ {
BOPBiomeHelper.getCorrespondingTemperatureTypeList(temperatureType).add(this); BOPBiomeHelper.getCorrespondingTemperatureTypeList(temperatureType).add(this);