mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-20 12:20:11 +00:00
A lot of patches went in - the client and server both launch and start up mods.
33 lines
1.4 KiB
Diff
33 lines
1.4 KiB
Diff
--- ../src-base/minecraft_server/net/minecraft/src/WorldProvider.java
|
|
+++ ../src-work/minecraft_server/net/minecraft/src/WorldProvider.java
|
|
@@ -32,19 +32,12 @@
|
|
|
|
protected void func_76572_b()
|
|
{
|
|
- if (this.field_76579_a.func_72912_H().func_76067_t() == WorldType.field_77138_c)
|
|
- {
|
|
- this.field_76578_c = new WorldChunkManagerHell(BiomeGenBase.field_76772_c, 0.5F, 0.5F);
|
|
- }
|
|
- else
|
|
- {
|
|
- this.field_76578_c = new WorldChunkManager(this.field_76579_a);
|
|
- }
|
|
+ this.field_76578_c = this.field_76577_b.getChunkManager(this.field_76579_a);
|
|
}
|
|
|
|
public IChunkProvider func_76555_c()
|
|
{
|
|
- return (IChunkProvider)(this.field_76577_b == WorldType.field_77138_c ? new ChunkProviderFlat(this.field_76579_a, this.field_76579_a.func_72905_C(), this.field_76579_a.func_72912_H().func_76089_r()) : new ChunkProviderGenerate(this.field_76579_a, this.field_76579_a.func_72905_C(), this.field_76579_a.func_72912_H().func_76089_r()));
|
|
+ return this.field_76577_b.getChunkGenerator(this.field_76579_a);
|
|
}
|
|
|
|
public boolean func_76566_a(int p_76566_1_, int p_76566_2_)
|
|
@@ -96,6 +89,6 @@
|
|
|
|
public int func_76557_i()
|
|
{
|
|
- return this.field_76577_b == WorldType.field_77138_c ? 4 : 64;
|
|
+ return this.field_76577_b.getMinimumSpawnHeight(this.field_76579_a);
|
|
}
|
|
}
|