mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 13:16:45 +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) {
|
switch (arg0) {
|
||||||
case "add":
|
case "add":
|
||||||
case "check":
|
case "check":
|
||||||
if (Permissions.hasPermission(player, "plots.grant." + arg0)) {
|
if (!Permissions.hasPermission(player, "plots.grant." + arg0)) {
|
||||||
C.NO_PERMISSION.send(player, "plots.grant." + arg0);
|
C.NO_PERMISSION.send(player, "plots.grant." + arg0);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user