mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-12-23 16:48:16 +01:00
Fix grant check
This commit is contained in:
parent
970c80cb15
commit
3b73b2e9d8
@ -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 New Issue
Block a user