Prevent plot deletion during plot analysis

This commit is contained in:
boy0001
2015-07-18 15:45:04 +10:00
parent a7cd8d995e
commit fcc5056f8c
2 changed files with 21 additions and 3 deletions

View File

@ -151,6 +151,12 @@ public class ExpireManager {
}
}
};
if (MainUtil.runners.containsKey(plot)) {
PS.log("$2[&5Expire&dManager$2] &bSkipping plot in use: " + plot);
expiredPlots.get(world).remove(plot);
this.run();
return;
}
if (Settings.CLEAR_THRESHOLD != -1 && plotworld.TYPE == 0) {
PlotAnalysis analysis = plot.getComplexity();
if (analysis != null) {