mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 07:06:44 +01:00
Recover from invalid db entry
This commit is contained in:
parent
53e56a6414
commit
e3f5842299
@ -202,8 +202,12 @@ public class ClassicPlotMeConnector extends APlotMeConnector {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (plots.get(world).containsKey(id)) {
|
HashMap<PlotId, Plot> worldMap = plots.get(world);
|
||||||
plots.get(world).get(id).getDenied().add(denied);
|
if (worldMap != null) {
|
||||||
|
Plot plot = worldMap.get(id);
|
||||||
|
if (plot != null) {
|
||||||
|
plot.getDenied().add(denied);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -242,8 +246,12 @@ public class ClassicPlotMeConnector extends APlotMeConnector {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (plots.get(world).containsKey(id)) {
|
HashMap<PlotId, Plot> worldMap = plots.get(world);
|
||||||
plots.get(world).get(id).getTrusted().add(helper);
|
if (worldMap != null) {
|
||||||
|
Plot plot = worldMap.get(id);
|
||||||
|
if (plot != null) {
|
||||||
|
plot.getTrusted().add(helper);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user