From bb4be1aeecd1988beba59803f94e29dee177e6b4 Mon Sep 17 00:00:00 2001 From: Adubbz Date: Thu, 20 Apr 2017 13:43:30 +1000 Subject: [PATCH] No longer double up on top and filler block fields for nether biomes --- .../biomesoplenty/common/biome/nether/BOPHellBiome.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/main/java/biomesoplenty/common/biome/nether/BOPHellBiome.java b/src/main/java/biomesoplenty/common/biome/nether/BOPHellBiome.java index c7a63854f..4915df353 100644 --- a/src/main/java/biomesoplenty/common/biome/nether/BOPHellBiome.java +++ b/src/main/java/biomesoplenty/common/biome/nether/BOPHellBiome.java @@ -34,8 +34,6 @@ import java.util.Random; 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 roofTopBlock = Blocks.NETHERRACK.getDefaultState(); public IBlockState roofFillerBlock = Blocks.NETHERRACK.getDefaultState(); @@ -44,6 +42,9 @@ public class BOPHellBiome extends BOPBiome { super(idName, defaultBuilder); + this.topBlock = Blocks.NETHERRACK.getDefaultState(); + this.fillerBlock = Blocks.NETHERRACK.getDefaultState(); + this.spawnableCaveCreatureList.clear(); this.spawnableCreatureList.clear(); this.spawnableMonsterList.clear(); @@ -61,8 +62,6 @@ public class BOPHellBiome extends BOPBiome super.configure(conf); // 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.roofTopBlock = conf.getBlockState("roofTopBlock", this.roofTopBlock); this.roofFillerBlock = conf.getBlockState("roofFillerBlock", this.roofFillerBlock);