Fixed the biome size config option for BOP World Type.
This commit is contained in:
parent
7bf563c9b6
commit
fc4b7a3142
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue