diff --git a/src/minecraft/net/minecraft/src/BTABiomeDecorator.java b/src/minecraft/net/minecraft/src/BTABiomeDecorator.java index 50fcad4..6287e5a 100644 --- a/src/minecraft/net/minecraft/src/BTABiomeDecorator.java +++ b/src/minecraft/net/minecraft/src/BTABiomeDecorator.java @@ -234,7 +234,12 @@ public void decorate(World par1World, Random par2Random, int par3, int par4) else { this.currentWorld = par1World; - this.generatorInfo = BTAWorldConfigurationInfo.createInfoFromString(this.currentWorld.provider.generatorOptions); + if (this.currentWorld.provider.generatorOptions.equals("")) { + this.generatorInfo = BTAWorldConfigurationInfo.createDefaultConfigurationLegacy(this.currentWorld.provider.terrainType.isDeco()); + } + else { + this.generatorInfo = BTAWorldConfigurationInfo.createInfoFromString(this.currentWorld.provider.generatorOptions); + } this.randomGenerator = par2Random; this.chunk_X = par3; this.chunk_Z = par4; diff --git a/src/minecraft_server/net/minecraft/src/BTABiomeDecorator.java b/src/minecraft_server/net/minecraft/src/BTABiomeDecorator.java index 50fcad4..6287e5a 100644 --- a/src/minecraft_server/net/minecraft/src/BTABiomeDecorator.java +++ b/src/minecraft_server/net/minecraft/src/BTABiomeDecorator.java @@ -234,7 +234,12 @@ public void decorate(World par1World, Random par2Random, int par3, int par4) else { this.currentWorld = par1World; - this.generatorInfo = BTAWorldConfigurationInfo.createInfoFromString(this.currentWorld.provider.generatorOptions); + if (this.currentWorld.provider.generatorOptions.equals("")) { + this.generatorInfo = BTAWorldConfigurationInfo.createDefaultConfigurationLegacy(this.currentWorld.provider.terrainType.isDeco()); + } + else { + this.generatorInfo = BTAWorldConfigurationInfo.createInfoFromString(this.currentWorld.provider.generatorOptions); + } this.randomGenerator = par2Random; this.chunk_X = par3; this.chunk_Z = par4;