mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-07 04:53:00 +00:00
pw
This commit is contained in:
parent
0dc0b29ea7
commit
439a1d440a
29 changed files with 60 additions and 61 deletions
|
@ -92,7 +92,7 @@ public class PlotSquared {
|
|||
plots.get(world).put(plot.id, plot);
|
||||
}
|
||||
|
||||
public static PlotWorld getWorldSettings(final String world) {
|
||||
public static PlotWorld getPlotWorld(final String world) {
|
||||
if (plotworlds.containsKey(world)) {
|
||||
return plotworlds.get(world);
|
||||
}
|
||||
|
@ -196,7 +196,7 @@ public class PlotSquared {
|
|||
}
|
||||
|
||||
public static void loadWorld(final String world, final PlotGenerator generator) {
|
||||
if (getWorldSettings(world) != null) {
|
||||
if (getPlotWorld(world) != null) {
|
||||
return;
|
||||
}
|
||||
final Set<String> worlds = (config.contains("worlds") ? config.getConfigurationSection("worlds").getKeys(false) : new HashSet<String>());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue