Be a bit more helpful with deleted plotworlds and invalid db entries

This commit is contained in:
NotMyFault 2021-07-28 22:23:55 +02:00
parent 6ad51bba65
commit 8fc9e0b13f
No known key found for this signature in database
GPG Key ID: 158F5701A6AAD00C

View File

@ -3223,8 +3223,9 @@ public class SQLManager implements AbstractDB {
continue;
}
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.info("Delete this entry from your database or set `database-purger: true` in the settings.yml");
continue;
}
if (database == null) {