mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-06-26 02:34:42 +02:00
Merge pull request #1 from hyWse/hyWse-patch-1
Do not kick plot owners on "/p deny *"
This commit is contained in:
@ -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.isOwner(plotPlayer.getUUID())) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
handleKick(plotPlayer, plot);
|
handleKick(plotPlayer, plot);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user