mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-25 22:56:45 +01:00
Don't setup single plot worlds
This commit is contained in:
parent
0fdc5eafbd
commit
27eda9eb7c
@ -131,15 +131,13 @@ public class BukkitSetupUtils extends SetupUtils {
|
|||||||
for (ConfigurationNode step : steps) {
|
for (ConfigurationNode step : steps) {
|
||||||
worldSection.set(step.getConstant(), step.getValue());
|
worldSection.set(step.getConstant(), step.getValue());
|
||||||
}
|
}
|
||||||
PlotSquared.get().worlds.set("worlds." + world + ".generator.type", object.type);
|
if (!object.plotManager.endsWith(":single")) {
|
||||||
PlotSquared.get().worlds
|
PlotSquared.get().worlds.set("worlds." + world + ".generator.type", object.type);
|
||||||
.set("worlds." + world + ".generator.terrain", object.terrain);
|
PlotSquared.get().worlds.set("worlds." + world + ".generator.terrain", object.terrain);
|
||||||
PlotSquared.get().worlds
|
PlotSquared.get().worlds.set("worlds." + world + ".generator.plugin", object.plotManager);
|
||||||
.set("worlds." + world + ".generator.plugin", object.plotManager);
|
if (object.setupGenerator != null && !object.setupGenerator.equals(object.plotManager)) {
|
||||||
if (object.setupGenerator != null && !object.setupGenerator
|
PlotSquared.get().worlds.set("worlds." + world + ".generator.init", object.setupGenerator);
|
||||||
.equals(object.plotManager)) {
|
}
|
||||||
PlotSquared.get().worlds
|
|
||||||
.set("worlds." + world + ".generator.init", object.setupGenerator);
|
|
||||||
}
|
}
|
||||||
GeneratorWrapper<?> gen = SetupUtils.generators.get(object.setupGenerator);
|
GeneratorWrapper<?> gen = SetupUtils.generators.get(object.setupGenerator);
|
||||||
if (gen != null && gen.isFull()) {
|
if (gen != null && gen.isFull()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user