From 5fe8523023dc836ce6b2a29c369ca21e7a81e163 Mon Sep 17 00:00:00 2001 From: EvilSeph Date: Sun, 28 Oct 2012 00:35:10 -0400 Subject: [PATCH] Fixed generator-settings not being set. Fixes BUKKIT-2652 --- src/main/java/net/minecraft/server/MinecraftServer.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java index 96a17006c7..349458bb00 100644 --- a/src/main/java/net/minecraft/server/MinecraftServer.java +++ b/src/main/java/net/minecraft/server/MinecraftServer.java @@ -185,6 +185,7 @@ public abstract class MinecraftServer implements Runnable, IMojangStatistics, IC org.bukkit.generator.ChunkGenerator gen = this.server.getGenerator(name); WorldSettings worldsettings = new WorldSettings(i, this.getGamemode(), this.getGenerateStructures(), this.isHardcore(), worldtype); + worldsettings.a(s2); if (j == 0) { if (this.M()) { // Strip out DEMO?