mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-02-11 19:50:38 +00:00
Fixed null generator world creation?
This commit is contained in:
parent
dd6e13dd94
commit
8191e5f625
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ public class BukkitSetupUtils extends SetupUtils {
|
|||
PS.get().config.set("worlds." + world + "." + "generator.init", object.setupGenerator);
|
||||
}
|
||||
PlotGenerator<ChunkGenerator> gen = (PlotGenerator<ChunkGenerator>) generators.get(object.setupGenerator);
|
||||
if (gen.generator instanceof BukkitPlotGenerator) {
|
||||
if (gen != null && gen.generator instanceof BukkitPlotGenerator) {
|
||||
object.setupGenerator = null;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue