mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-02-11 19:50:38 +00:00
Fix grant check
This commit is contained in:
parent
970c80cb15
commit
3b73b2e9d8
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ public class Grant extends Command {
|
|||
switch (arg0) {
|
||||
case "add":
|
||||
case "check":
|
||||
if (Permissions.hasPermission(player, "plots.grant." + arg0)) {
|
||||
if (!Permissions.hasPermission(player, "plots.grant." + arg0)) {
|
||||
C.NO_PERMISSION.send(player, "plots.grant." + arg0);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue