Skip to content

Commit

Permalink
Fix permission for task cancel command
Browse files Browse the repository at this point in the history
  • Loading branch information
TBlueF committed Feb 23, 2025
1 parent 8262006 commit d1e130e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public Component taskList() {
}

@Command("tasks cancel <task-ref>")
@Permission("bluemap.tasks")
@Permission("bluemap.tasks.cancel")
public Component cancelTask(@Argument("task-ref") RenderTask renderTask) {
boolean removed = plugin.getRenderManager().removeRenderTask(renderTask);
if (!removed)
Expand Down

0 comments on commit d1e130e

Please sign in to comment.