mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 07:06:44 +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);
|
||||
} else {
|
||||
for (PlotPlayer plotPlayer : plot.getPlayersInPlot()) {
|
||||
// Ignore plot-owners
|
||||
if (plot.isAdded(plotPlayer.getUUID())) {
|
||||
continue;
|
||||
}
|
||||
handleKick(plotPlayer, plot);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user