Fixed the biome size config option for BOP World Type.
This commit is contained in:
parent
7bf563c9b6
commit
fc4b7a3142
2 changed files with 2 additions and 1 deletions
|
@ -9,7 +9,7 @@ public class WorldTypeSize
|
||||||
@ForgeSubscribe
|
@ForgeSubscribe
|
||||||
public void BiomeSize(WorldTypeEvent.BiomeSize event)
|
public void BiomeSize(WorldTypeEvent.BiomeSize event)
|
||||||
{
|
{
|
||||||
if (event.worldType.getWorldTypeID() == 4) {
|
if (event.worldType.getWorldTypeName() == "BIOMESOP") {
|
||||||
event.newSize = (byte)BOPConfiguration.biomeSize;
|
event.newSize = (byte)BOPConfiguration.biomeSize;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,6 +27,7 @@ public abstract class BiomeLayer
|
||||||
obj = new BiomeLayerIsland(4L, (obj));
|
obj = new BiomeLayerIsland(4L, (obj));
|
||||||
|
|
||||||
byte size = 4;
|
byte size = 4;
|
||||||
|
size = getModdedBiomeSize(worldtype, size);
|
||||||
|
|
||||||
BiomeLayer obj1 = obj;
|
BiomeLayer obj1 = obj;
|
||||||
obj1 = BiomeLayerZoom.func_75915_a(1000L, ((obj1)), 0);
|
obj1 = BiomeLayerZoom.func_75915_a(1000L, ((obj1)), 0);
|
||||||
|
|
Loading…
Reference in a new issue