mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-12-04 19:03:14 +01:00
Kick players on merged plots appropriately (#3639)
fix: kick denied player regardless on all connected plots
This commit is contained in:
parent
82cd9a092c
commit
5eb2fc3ad0
@ -161,6 +161,7 @@ public class Deny extends SubCommand {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void handleKick(PlotPlayer<?> player, Plot plot) {
|
private void handleKick(PlotPlayer<?> player, Plot plot) {
|
||||||
|
plot = plot.getBasePlot(false);
|
||||||
if (player == null) {
|
if (player == null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user