From 2cb971c38fffb83cb8120e68b7f81b39fa6c5d6b Mon Sep 17 00:00:00 2001 From: larman Date: Fri, 19 Jun 2015 07:04:19 -0700 Subject: [PATCH] fix logic for guessing mesa tag in biome dict --- .../java/net/minecraftforge/common/BiomeDictionary.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/net/minecraftforge/common/BiomeDictionary.java b/src/main/java/net/minecraftforge/common/BiomeDictionary.java index b1e52c8e7..df4cf2e6a 100644 --- a/src/main/java/net/minecraftforge/common/BiomeDictionary.java +++ b/src/main/java/net/minecraftforge/common/BiomeDictionary.java @@ -416,14 +416,14 @@ public class BiomeDictionary { BiomeDictionary.registerBiomeType(biome, SANDY); } - else if (biome.topBlock == Blocks.hardened_clay) - { - BiomeDictionary.registerBiomeType(biome, MESA); - } else if (biome.topBlock == Blocks.mycelium) { BiomeDictionary.registerBiomeType(biome, MUSHROOM); } + if (biome.fillerBlock == Blocks.hardened_clay) + { + BiomeDictionary.registerBiomeType(biome, MESA); + } } //Internal implementation