mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-25 14:46:45 +01:00
parent
b6a87df072
commit
dc73116401
@ -100,15 +100,17 @@ public class Remove extends SubCommand {
|
|||||||
count++;
|
count++;
|
||||||
}
|
}
|
||||||
} else if (uuid == DBFunc.EVERYONE) {
|
} else if (uuid == DBFunc.EVERYONE) {
|
||||||
|
count += plot.getTrusted().size();
|
||||||
if (plot.removeTrusted(uuid)) {
|
if (plot.removeTrusted(uuid)) {
|
||||||
this.eventDispatcher.callTrusted(player, plot, uuid, false);
|
this.eventDispatcher.callTrusted(player, plot, uuid, false);
|
||||||
count++;
|
}
|
||||||
} else if (plot.removeMember(uuid)) {
|
count += plot.getMembers().size();
|
||||||
|
if (plot.removeMember(uuid)) {
|
||||||
this.eventDispatcher.callMember(player, plot, uuid, false);
|
this.eventDispatcher.callMember(player, plot, uuid, false);
|
||||||
count++;
|
}
|
||||||
} else if (plot.removeDenied(uuid)) {
|
count += plot.getDenied().size();
|
||||||
|
if (plot.removeDenied(uuid)) {
|
||||||
this.eventDispatcher.callDenied(player, plot, uuid, false);
|
this.eventDispatcher.callDenied(player, plot, uuid, false);
|
||||||
count++;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user