mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-07-01 21:24:43 +02:00
Fix grant check
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user