No longer double up on top and filler block fields for nether biomes

This commit is contained in:
Adubbz 2017-04-20 13:43:30 +10:00
parent d3d93cf5bf
commit bb4be1aeec
1 changed files with 3 additions and 4 deletions

View File

@ -34,8 +34,6 @@ import java.util.Random;
public class BOPHellBiome extends BOPBiome public class BOPHellBiome extends BOPBiome
{ {
public IBlockState topBlock = Blocks.NETHERRACK.getDefaultState();
public IBlockState fillerBlock = Blocks.NETHERRACK.getDefaultState();
public IBlockState wallBlock = Blocks.NETHERRACK.getDefaultState(); public IBlockState wallBlock = Blocks.NETHERRACK.getDefaultState();
public IBlockState roofTopBlock = Blocks.NETHERRACK.getDefaultState(); public IBlockState roofTopBlock = Blocks.NETHERRACK.getDefaultState();
public IBlockState roofFillerBlock = Blocks.NETHERRACK.getDefaultState(); public IBlockState roofFillerBlock = Blocks.NETHERRACK.getDefaultState();
@ -44,6 +42,9 @@ public class BOPHellBiome extends BOPBiome
{ {
super(idName, defaultBuilder); super(idName, defaultBuilder);
this.topBlock = Blocks.NETHERRACK.getDefaultState();
this.fillerBlock = Blocks.NETHERRACK.getDefaultState();
this.spawnableCaveCreatureList.clear(); this.spawnableCaveCreatureList.clear();
this.spawnableCreatureList.clear(); this.spawnableCreatureList.clear();
this.spawnableMonsterList.clear(); this.spawnableMonsterList.clear();
@ -61,8 +62,6 @@ public class BOPHellBiome extends BOPBiome
super.configure(conf); super.configure(conf);
// Allow basic properties to be overridden // Allow basic properties to be overridden
this.topBlock = conf.getBlockState("topBlock", this.topBlock);
this.fillerBlock = conf.getBlockState("fillerBlock", this.fillerBlock);
this.wallBlock = conf.getBlockState("wallBlock", this.wallBlock); this.wallBlock = conf.getBlockState("wallBlock", this.wallBlock);
this.roofTopBlock = conf.getBlockState("roofTopBlock", this.roofTopBlock); this.roofTopBlock = conf.getBlockState("roofTopBlock", this.roofTopBlock);
this.roofFillerBlock = conf.getBlockState("roofFillerBlock", this.roofFillerBlock); this.roofFillerBlock = conf.getBlockState("roofFillerBlock", this.roofFillerBlock);