Skip to content

Commit d1e130e

Browse files
committed
Fix permission for task cancel command
1 parent 8262006 commit d1e130e

File tree

1 file changed

+1
-1
lines changed
  • common/src/main/java/de/bluecolored/bluemap/common/commands/commands

1 file changed

+1
-1
lines changed

common/src/main/java/de/bluecolored/bluemap/common/commands/commands/TasksCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public Component taskList() {
8787
}
8888

8989
@Command("tasks cancel <task-ref>")
90-
@Permission("bluemap.tasks")
90+
@Permission("bluemap.tasks.cancel")
9191
public Component cancelTask(@Argument("task-ref") RenderTask renderTask) {
9292
boolean removed = plugin.getRenderManager().removeRenderTask(renderTask);
9393
if (!removed)

0 commit comments

Comments
 (0)