mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 13:16:45 +01:00
Will now clear stuff :3
This commit is contained in:
parent
5759e3e761
commit
bf7c36a637
@ -666,7 +666,6 @@ public class PlotHelper {
|
|||||||
* @param plot
|
* @param plot
|
||||||
*/
|
*/
|
||||||
public static void clear(final Player requester, final Plot plot) {
|
public static void clear(final Player requester, final Plot plot) {
|
||||||
|
|
||||||
if (runners.containsKey(plot)) {
|
if (runners.containsKey(plot)) {
|
||||||
PlayerFunctions.sendMessage(requester, C.WAIT_FOR_TIMER);
|
PlayerFunctions.sendMessage(requester, C.WAIT_FOR_TIMER);
|
||||||
return;
|
return;
|
||||||
|
@ -470,8 +470,9 @@ public class PlotMain extends JavaPlugin {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
for (Plot plot: toDeletePlot) {
|
for (Plot plot: toDeletePlot) {
|
||||||
DBFunc.delete(world, plot);
|
getPlotManager(world).clearPlot(null, plot);
|
||||||
}
|
DBFunc.delete(world, plot);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user