mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 21:26:45 +01:00
Merge pull request #2697 from hyWse/v4
Plotowner are kicked at "/p deny *" themselves
This commit is contained in:
commit
955dd04dd6
@ -74,6 +74,10 @@ import java.util.UUID;
|
|||||||
handleKick(UUIDHandler.getPlayer(uuid), plot);
|
handleKick(UUIDHandler.getPlayer(uuid), plot);
|
||||||
} else {
|
} else {
|
||||||
for (PlotPlayer plotPlayer : plot.getPlayersInPlot()) {
|
for (PlotPlayer plotPlayer : plot.getPlayersInPlot()) {
|
||||||
|
// Ignore plot-owners
|
||||||
|
if (plot.isAdded(plotPlayer.getUUID())) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
handleKick(plotPlayer, plot);
|
handleKick(plotPlayer, plot);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user