From 3b73b2e9d8d8c1254b0b686d08352191570f44cf Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Mon, 29 Aug 2016 15:33:26 +1000 Subject: [PATCH] Fix grant check --- .../main/java/com/intellectualcrafters/plot/commands/Grant.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/src/main/java/com/intellectualcrafters/plot/commands/Grant.java b/Core/src/main/java/com/intellectualcrafters/plot/commands/Grant.java index 85a45ef31..98b615297 100644 --- a/Core/src/main/java/com/intellectualcrafters/plot/commands/Grant.java +++ b/Core/src/main/java/com/intellectualcrafters/plot/commands/Grant.java @@ -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; }