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
1 changed files with 5 additions and 0 deletions

View File

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