From 68b3c1b95d6d9e4d96b06d6947ed30157b5fafb4 Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Thu, 15 Jan 2015 23:32:58 -0800 Subject: [PATCH] expire interval --- .../intellectualcrafters/plot/util/ExpireManager.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/util/ExpireManager.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/util/ExpireManager.java index f3cfc2d3b..7e0448a10 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/util/ExpireManager.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/util/ExpireManager.java @@ -98,8 +98,13 @@ public class ExpireManager { PlotMain.removePlot(world, plot.id, true); expiredPlots.get(world).remove(0); PlotMain.sendConsoleSenderMessage("&cDeleted expired plot: " + plot.id); - if ((Math.abs(plot.id.x) < Math.abs(Auto.lastPlot.x)) && (Math.abs(plot.id.y) < Math.abs(Auto.lastPlot.y))) { - Auto.lastPlot = plot.id; + String owner; + PlotMain.sendConsoleSenderMessage("&3 - World: "+plot.world); + if (plot.hasOwner()) { + PlotMain.sendConsoleSenderMessage("&3 - Owner: "+UUIDHandler.getName(plot.owner)); + } + else { + PlotMain.sendConsoleSenderMessage("&3 - Owner: Unowned"); } return; }