From fc4b7a31421a489fd00f98284d6b1fd55e909d4b Mon Sep 17 00:00:00 2001 From: Amnet Date: Fri, 28 Jun 2013 15:10:17 +0200 Subject: [PATCH] Fixed the biome size config option for BOP World Type. --- src/minecraft/biomesoplenty/world/WorldTypeSize.java | 2 +- src/minecraft/biomesoplenty/world/layer/BiomeLayer.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/minecraft/biomesoplenty/world/WorldTypeSize.java b/src/minecraft/biomesoplenty/world/WorldTypeSize.java index ac6220e36..f03269672 100644 --- a/src/minecraft/biomesoplenty/world/WorldTypeSize.java +++ b/src/minecraft/biomesoplenty/world/WorldTypeSize.java @@ -9,7 +9,7 @@ public class WorldTypeSize @ForgeSubscribe public void BiomeSize(WorldTypeEvent.BiomeSize event) { - if (event.worldType.getWorldTypeID() == 4) { + if (event.worldType.getWorldTypeName() == "BIOMESOP") { event.newSize = (byte)BOPConfiguration.biomeSize; } } diff --git a/src/minecraft/biomesoplenty/world/layer/BiomeLayer.java b/src/minecraft/biomesoplenty/world/layer/BiomeLayer.java index 7069526e0..0baad9afa 100644 --- a/src/minecraft/biomesoplenty/world/layer/BiomeLayer.java +++ b/src/minecraft/biomesoplenty/world/layer/BiomeLayer.java @@ -27,6 +27,7 @@ public abstract class BiomeLayer obj = new BiomeLayerIsland(4L, (obj)); byte size = 4; + size = getModdedBiomeSize(worldtype, size); BiomeLayer obj1 = obj; obj1 = BiomeLayerZoom.func_75915_a(1000L, ((obj1)), 0);