diff --git a/src/main/java/com/intellectualcrafters/plot/database/SQLManager.java b/src/main/java/com/intellectualcrafters/plot/database/SQLManager.java index c2608fbbc..855015f09 100644 --- a/src/main/java/com/intellectualcrafters/plot/database/SQLManager.java +++ b/src/main/java/com/intellectualcrafters/plot/database/SQLManager.java @@ -1464,7 +1464,7 @@ public class SQLManager implements AbstractDB { } plot.getSettings().ratings.put(user, r.getInt("rating")); } else { - PS.debug("&cPLOT " + id + " in plot_helpers does not exist. Please create the plot or remove this entry."); + PS.debug("&cPLOT " + id + " in plot_rating does not exist. Please create the plot or remove this entry."); } } } @@ -1617,6 +1617,16 @@ public class SQLManager implements AbstractDB { } if (plots.entrySet().size() > 0) { createEmptySettings(new ArrayList(plots.keySet()), null); + for (Entry entry : plots.entrySet()) { + Plot plot = entry.getValue(); + plot.getSettings(); + ConcurrentHashMap map = newplots.get(plot.world); + if (map == null) { + map = new ConcurrentHashMap(); + newplots.put(plot.world, map); + } + newplots.get(plot.world).put(plot.id, plot); + } } boolean invalidPlot = false; for (final Entry entry : noExist.entrySet()) { diff --git a/target/PlotSquared-Bukkit.jar b/target/PlotSquared-Bukkit.jar index 24284a3bc..6c7d10172 100644 Binary files a/target/PlotSquared-Bukkit.jar and b/target/PlotSquared-Bukkit.jar differ