From d70084e53d09bb15a6d40ce8ce0ebc90ee74851e Mon Sep 17 00:00:00 2001 From: md_5 Date: Sun, 2 Feb 2020 19:32:36 +1100 Subject: [PATCH] Remove unused seed in CustomChunkGenerator --- nms-patches/WorldServer.patch | 2 +- .../craftbukkit/generator/CustomChunkGenerator.java | 8 ++------ 2 files changed, 3 insertions(+), 7 deletions(-) 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