Fixed generator-settings not being set. Fixes BUKKIT-2652

This commit is contained in:
EvilSeph 2012-10-28 00:35:10 -04:00
parent 5469311a36
commit 5fe8523023

View File

@ -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?