Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-09-06 16:12:51 +02:00
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>",
|
||||
desc = "Evaluate a mathematical expression"
|
||||
)
|
||||
@CommandPermissions("worldedit.calc")
|
||||
public void calc(Actor actor, @Text String input) throws CommandException {
|
||||
try {
|
||||
Expression expression = Expression.compile(input);
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren