Add worldedit.calc permission node to //calc command.

This commit is contained in:
wizjany 2015-12-21 16:14:44 -05:00
parent bed8a80894
commit 23d6fa7579

View File

@ -510,6 +510,7 @@ public class UtilityCommands {
usage = "<expression>",
desc = "Evaluate a mathematical expression"
)
@CommandPermissions("worldedit.calc")
public void calc(Actor actor, @Text String input) throws CommandException {
try {
Expression expression = Expression.compile(input);