External generators

Fixed an issue with external generators not working correctly (caused by
another "fix").
The following will need to be updated:
- AdvPlots
- IslandPlots
This commit is contained in:
boy0001
2015-05-09 16:24:03 +10:00
parent 7d25cccf4a
commit dcf1475d92
8 changed files with 18 additions and 7 deletions

View File

@ -328,7 +328,7 @@ public class BukkitMain extends JavaPlugin implements Listener, IPlotMain {
if (!PlotSquared.setupPlotWorld(world, id)) {
return null;
}
HybridGen result = new HybridGen();
HybridGen result = new HybridGen(world);
TaskManager.runTaskLater(new Runnable() {
@Override
public void run() {
@ -440,7 +440,7 @@ public class BukkitMain extends JavaPlugin implements Listener, IPlotMain {
if ((gen_plugin != null) && gen_plugin.isEnabled()) {
return gen_plugin.getDefaultWorldGenerator(world, "");
} else {
return new HybridGen();
return new HybridGen(world);
}
}