Do not kick any added players on /p deny *

This commit is contained in:
Daniel 2020-02-23 19:55:24 +01:00 committed by GitHub
parent f605c0b113
commit 9b1a035e30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,7 +75,7 @@ import java.util.UUID;
} else {
for (PlotPlayer plotPlayer : plot.getPlayersInPlot()) {
// Ignore plot-owners
if (plot.isOwner(plotPlayer.getUUID())) {
if (plot.isAdded(plotPlayer.getUUID())) {
continue;
}
handleKick(plotPlayer, plot);