From 3c0229811c7904b1a12f7038b81e0ad1605e8e0a Mon Sep 17 00:00:00 2001 From: "Blue (Lukas Rieger)" Date: Wed, 23 Jun 2021 14:50:05 +0200 Subject: [PATCH] Add some info to cancel-command --- .../de/bluecolored/bluemap/common/plugin/commands/Commands.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BlueMapCommon/src/main/java/de/bluecolored/bluemap/common/plugin/commands/Commands.java b/BlueMapCommon/src/main/java/de/bluecolored/bluemap/common/plugin/commands/Commands.java index 5868bce3..fb981649 100644 --- a/BlueMapCommon/src/main/java/de/bluecolored/bluemap/common/plugin/commands/Commands.java +++ b/BlueMapCommon/src/main/java/de/bluecolored/bluemap/common/plugin/commands/Commands.java @@ -785,6 +785,7 @@ public int cancelCommand(CommandContext context) { if (!ref.isPresent()) { plugin.getRenderManager().removeAllRenderTasks(); source.sendMessage(Text.of(TextColor.GREEN, "All tasks cancelled!")); + source.sendMessage(Text.of(TextColor.GRAY, "(Note, that an already started task might not be removed immediately. Some tasks needs to do some tidying-work first)")); return 1; } @@ -797,6 +798,7 @@ public int cancelCommand(CommandContext context) { if (plugin.getRenderManager().removeRenderTask(task.get())) { source.sendMessage(Text.of(TextColor.GREEN, "Task cancelled!")); + source.sendMessage(Text.of(TextColor.GRAY, "(Note, that an already started task might not be removed immediately. Some tasks needs to do some tidying-work first)")); return 1; } else { source.sendMessage(Text.of(TextColor.RED, "This task is either completed or got cancelled already!"));