mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 07:06:44 +01:00
parent
7b1c4a5042
commit
3240fc9559
@ -1091,11 +1091,15 @@ public class Plot {
|
||||
return false;
|
||||
}
|
||||
for (Plot current : getConnectedPlots()) {
|
||||
List<PlotPlayer> players = current.getPlayersInPlot();
|
||||
for (PlotPlayer pp : players) {
|
||||
PlotListener.plotExit(pp, current);
|
||||
}
|
||||
getArea().removePlot(getId());
|
||||
DBFunc.delete(current);
|
||||
current.owner = null;
|
||||
current.settings = null;
|
||||
for (PlotPlayer pp : current.getPlayersInPlot()) {
|
||||
for (PlotPlayer pp : players) {
|
||||
PlotListener.plotEntry(pp, current);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user