Kick players on merged plots appropriately (#3639)

fix: kick denied player regardless on all connected plots
This commit is contained in:
Bernhard 2022-05-24 20:30:06 +02:00 committed by GitHub
parent 82cd9a092c
commit 5eb2fc3ad0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -161,6 +161,7 @@ public class Deny extends SubCommand {
}
private void handleKick(PlotPlayer<?> player, Plot plot) {
plot = plot.getBasePlot(false);
if (player == null) {
return;
}