From 23d6fa7579566b0d92697548afc6a1e27c455a2f Mon Sep 17 00:00:00 2001 From: wizjany Date: Mon, 21 Dec 2015 16:14:44 -0500 Subject: [PATCH] Add worldedit.calc permission node to //calc command. --- .../main/java/com/sk89q/worldedit/command/UtilityCommands.java | 1 + 1 file changed, 1 insertion(+) diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/command/UtilityCommands.java b/worldedit-core/src/main/java/com/sk89q/worldedit/command/UtilityCommands.java index 39c9ed9ac..d5783c6c9 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/command/UtilityCommands.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/command/UtilityCommands.java @@ -510,6 +510,7 @@ public class UtilityCommands { usage = "", desc = "Evaluate a mathematical expression" ) + @CommandPermissions("worldedit.calc") public void calc(Actor actor, @Text String input) throws CommandException { try { Expression expression = Expression.compile(input);