From 6d2aad732e22c3ddce101e52f4a1e4e02cebcf5f Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Tue, 7 Jun 2011 19:25:44 +0100 Subject: [PATCH] Fixed nether's identity crises By: Dinnerbone --- .../bukkit/craftbukkit/generator/NormalChunkGenerator.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/generator/NormalChunkGenerator.java b/paper-server/src/main/java/org/bukkit/craftbukkit/generator/NormalChunkGenerator.java index 6ab09541da..f567d7f1d5 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/generator/NormalChunkGenerator.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/generator/NormalChunkGenerator.java @@ -4,7 +4,6 @@ import java.util.ArrayList; import java.util.List; import java.util.Random; import net.minecraft.server.Chunk; -import net.minecraft.server.ChunkProviderGenerate; import net.minecraft.server.IChunkProvider; import net.minecraft.server.IProgressUpdate; import net.minecraft.server.World; @@ -12,10 +11,10 @@ import org.bukkit.craftbukkit.CraftWorld; import org.bukkit.generator.BlockPopulator; public class NormalChunkGenerator extends InternalChunkGenerator { - private final ChunkProviderGenerate provider; + private final IChunkProvider provider; public NormalChunkGenerator(World world, long seed) { - provider = new ChunkProviderGenerate(world, seed); + provider = world.worldProvider.b(); } public byte[] generate(org.bukkit.World world, Random random, int x, int z) {