diff options
author | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-06-07 19:25:44 +0100 |
---|---|---|
committer | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-06-07 19:25:44 +0100 |
commit | 864f8d2f0dd64303b9b4ab1a76fd5c81d749e8fe (patch) | |
tree | 9a7117e7b4d3f2a1567fdaed9d7d74f4cd8fc263 /src/main/java | |
parent | 17c361a5e472b2ae80ed93080106e31b22f8e22a (diff) | |
download | craftbukkit-864f8d2f0dd64303b9b4ab1a76fd5c81d749e8fe.tar craftbukkit-864f8d2f0dd64303b9b4ab1a76fd5c81d749e8fe.tar.gz craftbukkit-864f8d2f0dd64303b9b4ab1a76fd5c81d749e8fe.tar.lz craftbukkit-864f8d2f0dd64303b9b4ab1a76fd5c81d749e8fe.tar.xz craftbukkit-864f8d2f0dd64303b9b4ab1a76fd5c81d749e8fe.zip |
Fixed nether's identity crises
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/generator/NormalChunkGenerator.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/generator/NormalChunkGenerator.java b/src/main/java/org/bukkit/craftbukkit/generator/NormalChunkGenerator.java index 6ab09541..f567d7f1 100644 --- a/src/main/java/org/bukkit/craftbukkit/generator/NormalChunkGenerator.java +++ b/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) { |