diff --git a/nms-patches/WorldServer.patch b/nms-patches/WorldServer.patch index fd0286bc06..1e4f4a3298 100644 --- a/nms-patches/WorldServer.patch +++ b/nms-patches/WorldServer.patch @@ -34,7 +34,7 @@ + ChunkGenerator chunkGenerator; + + if (gen != null) { -+ chunkGenerator = new org.bukkit.craftbukkit.generator.CustomChunkGenerator(world, world.getSeed(), gen); ++ chunkGenerator = new org.bukkit.craftbukkit.generator.CustomChunkGenerator(world, gen); + } else { + chunkGenerator = worldprovider.getChunkGenerator(); + } diff --git a/src/main/java/org/bukkit/craftbukkit/generator/CustomChunkGenerator.java b/src/main/java/org/bukkit/craftbukkit/generator/CustomChunkGenerator.java index 44408efad1..87512c6538 100644 --- a/src/main/java/org/bukkit/craftbukkit/generator/CustomChunkGenerator.java +++ b/src/main/java/org/bukkit/craftbukkit/generator/CustomChunkGenerator.java @@ -41,8 +41,7 @@ public class CustomChunkGenerator extends InternalChunkGenerator