mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 21:26:45 +01:00
expire interval
This commit is contained in:
parent
64777a1efb
commit
68b3c1b95d
@ -98,8 +98,13 @@ public class ExpireManager {
|
|||||||
PlotMain.removePlot(world, plot.id, true);
|
PlotMain.removePlot(world, plot.id, true);
|
||||||
expiredPlots.get(world).remove(0);
|
expiredPlots.get(world).remove(0);
|
||||||
PlotMain.sendConsoleSenderMessage("&cDeleted expired plot: " + plot.id);
|
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))) {
|
String owner;
|
||||||
Auto.lastPlot = plot.id;
|
PlotMain.sendConsoleSenderMessage("&3 - World: "+plot.world);
|
||||||
|
if (plot.hasOwner()) {
|
||||||
|
PlotMain.sendConsoleSenderMessage("&3 - Owner: "+UUIDHandler.getName(plot.owner));
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
PlotMain.sendConsoleSenderMessage("&3 - Owner: Unowned");
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user