SPIGOT-2574: BlockPopulators added twice.

This commit is contained in:
md_5 2016-08-06 10:04:06 +10:00
parent 83a9dbdef6
commit 29e1d72893

View file

@ -887,10 +887,6 @@ public final class CraftServer implements Server {
internal.setSpawnFlags(true, true); internal.setSpawnFlags(true, true);
console.worlds.add(internal); console.worlds.add(internal);
if (generator != null) {
internal.getWorld().getPopulators().addAll(generator.getDefaultPopulators(internal.getWorld()));
}
pluginManager.callEvent(new WorldInitEvent(internal.getWorld())); pluginManager.callEvent(new WorldInitEvent(internal.getWorld()));
System.out.print("Preparing start region for level " + (console.worlds.size() - 1) + " (Seed: " + internal.getSeed() + ")"); System.out.print("Preparing start region for level " + (console.worlds.size() - 1) + " (Seed: " + internal.getSeed() + ")");