1
0
mirror of https://github.com/plexusorg/Plex-FAWE.git synced 2025-04-07 16:53:15 +00:00

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

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