Fix grant check

This commit is contained in:
Jesse Boyd 2016-08-29 15:33:26 +10:00
parent 970c80cb15
commit 3b73b2e9d8

View File

@ -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;
}