mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +00:00
Add worldedit.calc permission node to //calc command.
This commit is contained in:
parent
bed8a80894
commit
23d6fa7579
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user