Will now clear stuff :3

This commit is contained in:
Sauilitired 2014-10-21 08:18:30 +02:00
parent 5759e3e761
commit bf7c36a637
2 changed files with 3 additions and 3 deletions

View File

@ -666,7 +666,6 @@ public class PlotHelper {
* @param plot
*/
public static void clear(final Player requester, final Plot plot) {
if (runners.containsKey(plot)) {
PlayerFunctions.sendMessage(requester, C.WAIT_FOR_TIMER);
return;

View File

@ -470,8 +470,9 @@ public class PlotMain extends JavaPlugin {
}
}
for (Plot plot: toDeletePlot) {
DBFunc.delete(world, plot);
}
getPlotManager(world).clearPlot(null, plot);
DBFunc.delete(world, plot);
}
}
}
}