mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-09-07 01:08:40 +02:00
Fixed null generator world creation?
This commit is contained in:
parent
dd6e13dd94
commit
8191e5f625
@ -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 New Issue
Block a user