mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 05:06:44 +01:00
Be a bit more helpful with deleted plotworlds and invalid db entries
This commit is contained in:
parent
6ad51bba65
commit
8fc9e0b13f
@ -3223,8 +3223,9 @@ public class SQLManager implements AbstractDB {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (plot.getArea() == null) {
|
if (plot.getArea() == null) {
|
||||||
LOGGER.error("CRITICAL ERROR IN VALIDATION TASK!");
|
LOGGER.error("CRITICAL ERROR IN VALIDATION TASK: {}", plot);
|
||||||
LOGGER.error("PLOT AREA CANNOT BE NULL! SKIPPING PLOT!");
|
LOGGER.error("PLOT AREA CANNOT BE NULL! SKIPPING PLOT!");
|
||||||
|
LOGGER.info("Delete this entry from your database or set `database-purger: true` in the settings.yml");
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (database == null) {
|
if (database == null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user