Fixed the biome size config option for BOP World Type.

This commit is contained in:
Amnet 2013-06-28 15:10:17 +02:00
parent 7bf563c9b6
commit fc4b7a3142
2 changed files with 2 additions and 1 deletions

View File

@ -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;
}
}

View File

@ -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);