3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-03 01:50:07 +01:00

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

Dieser Commit ist enthalten in:
wizjany 2015-12-21 16:14:44 -05:00
Ursprung bed8a80894
Commit 23d6fa7579

Datei anzeigen

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