This commit is contained in:
boy0001 2015-02-20 19:55:04 +11:00
parent 0dc0b29ea7
commit 439a1d440a
29 changed files with 60 additions and 61 deletions

View file

@ -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>());