geforkt von Mirrors/FastAsyncWorldEdit
Add worldedit.calc permission node to //calc command.
Dieser Commit ist enthalten in:
Ursprung
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);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren