Fix beach default
This commit is contained in:
parent
b68c9522a6
commit
b29ab83903
1 changed files with 2 additions and 1 deletions
|
@ -8,6 +8,7 @@
|
||||||
package biomesoplenty.common.biome;
|
package biomesoplenty.common.biome;
|
||||||
|
|
||||||
import biomesoplenty.api.enums.BOPClimates;
|
import biomesoplenty.api.enums.BOPClimates;
|
||||||
|
import net.minecraft.init.Biomes;
|
||||||
import net.minecraft.util.registry.IRegistry;
|
import net.minecraft.util.registry.IRegistry;
|
||||||
import net.minecraft.world.biome.Biome;
|
import net.minecraft.world.biome.Biome;
|
||||||
|
|
||||||
|
@ -19,7 +20,7 @@ public class BiomeBOP extends Biome
|
||||||
{
|
{
|
||||||
protected Map<BOPClimates, Integer> weightMap = new HashMap<BOPClimates, Integer>();
|
protected Map<BOPClimates, Integer> weightMap = new HashMap<BOPClimates, Integer>();
|
||||||
public boolean canSpawnInBiome;
|
public boolean canSpawnInBiome;
|
||||||
public int beachBiomeId = -1;
|
public int beachBiomeId = IRegistry.BIOME.getId(Biomes.BEACH);
|
||||||
|
|
||||||
public BiomeBOP(BiomeBuilder builder)
|
public BiomeBOP(BiomeBuilder builder)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue