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

View File

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