Only thing I can think of in 8ac9b86that would be causing the lack of plot owners (before reverting the commit)

This commit is contained in:
dordsor21 2019-02-04 14:24:17 +00:00
parent 6d6087b1e3
commit 14e1296e13

View File

@ -754,7 +754,7 @@ public final class BukkitMain extends JavaPlugin implements Listener, IPlotMain
} }
ChunkGenerator gen = world.getGenerator(); ChunkGenerator gen = world.getGenerator();
if (gen instanceof BukkitPlotGenerator) { if (gen instanceof BukkitPlotGenerator) {
PlotSquared.get().loadWorld(worldName, (GeneratorWrapper<?>) gen); PlotSquared.get().loadWorld(worldName, (BukkitPlotGenerator) gen);
} else if (gen != null) { } else if (gen != null) {
PlotSquared.get().loadWorld(worldName, new BukkitPlotGenerator(worldName, gen)); PlotSquared.get().loadWorld(worldName, new BukkitPlotGenerator(worldName, gen));
} else if (PlotSquared.get().worlds.contains("worlds." + worldName)) { } else if (PlotSquared.get().worlds.contains("worlds." + worldName)) {