mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 07:06:44 +01:00
parent
8f685b754a
commit
e6a7f4e5a7
@ -2853,6 +2853,16 @@ import java.util.concurrent.atomic.AtomicInteger;
|
|||||||
if (plot.temp == -1) {
|
if (plot.temp == -1) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
if (plot.getArea() == null) {
|
||||||
|
PlotSquared.debug("CRITICAL ERROR IN VALIDATION TASK!");
|
||||||
|
PlotSquared.debug("PLOT AREA CANNOT BE NULL! SKIPPING PLOT!");
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
if (database == null) {
|
||||||
|
PlotSquared.debug("CRITICAL ERROR IN VALIDATION TASK!");
|
||||||
|
PlotSquared.debug("DATABASE VARIABLE CANNOT BE NULL! NOW ENDING VALIDATION!!");
|
||||||
|
break;
|
||||||
|
}
|
||||||
HashMap<PlotId, Plot> worldPlots = database.get(plot.getArea().toString());
|
HashMap<PlotId, Plot> worldPlots = database.get(plot.getArea().toString());
|
||||||
if (worldPlots == null) {
|
if (worldPlots == null) {
|
||||||
PlotSquared.debug("&8 - &7Creating plot (1): " + plot);
|
PlotSquared.debug("&8 - &7Creating plot (1): " + plot);
|
||||||
|
Loading…
Reference in New Issue
Block a user