From 9f6bf14649c32214e2c11dfc2857d4cacd991278 Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Sun, 9 Apr 2017 17:10:23 +1000 Subject: [PATCH] Log when a plot is created/deleted --- .../java/com/intellectualcrafters/plot/database/SQLManager.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Core/src/main/java/com/intellectualcrafters/plot/database/SQLManager.java b/Core/src/main/java/com/intellectualcrafters/plot/database/SQLManager.java index eca6f9dc4..bfc42f390 100644 --- a/Core/src/main/java/com/intellectualcrafters/plot/database/SQLManager.java +++ b/Core/src/main/java/com/intellectualcrafters/plot/database/SQLManager.java @@ -1417,6 +1417,7 @@ public class SQLManager implements AbstractDB { */ @Override public void delete(final Plot plot) { + PS.debug("Deleting plot... Id: " + plot.getId() + " World: " + plot.getWorldName() + " Owner: " + plot.owner + " Index: " + plot.temp); deleteSettings(plot); deleteDenied(plot); deleteHelpers(plot); @@ -1444,6 +1445,7 @@ public class SQLManager implements AbstractDB { */ @Override public void createPlotSettings(final int id, Plot plot) { + PS.debug("Creating plot... Id: " + plot.getId() + " World: " + plot.getWorldName() + " Owner: " + plot.owner + " Index: " + id); addPlotTask(plot, new UniqueStatement("createPlotSettings") { @Override public void set(PreparedStatement stmt) throws SQLException {