From d1a85982fb109f770ef3a041f6b5017358acbefc Mon Sep 17 00:00:00 2001 From: Schuwi Date: Sat, 1 Oct 2022 11:37:24 +0200 Subject: [PATCH] Fix "set block timer" error after "/plot download" with legacy-webinterface setting (#3812) Add missing `Plot.removeRunning` call to Download --- Core/src/main/java/com/plotsquared/core/command/Download.java | 1 + 1 file changed, 1 insertion(+) diff --git a/Core/src/main/java/com/plotsquared/core/command/Download.java b/Core/src/main/java/com/plotsquared/core/command/Download.java index 5b23919ff..15cf82851 100644 --- a/Core/src/main/java/com/plotsquared/core/command/Download.java +++ b/Core/src/main/java/com/plotsquared/core/command/Download.java @@ -181,6 +181,7 @@ public class Download extends SubCommand { schematicHandler.upload(compoundTag, null, null, new RunnableVal<>() { @Override public void run(URL value) { + plot.removeRunning(); player.sendMessage( TranslatableCaption.of("web.generation_link_success"), Template.of("download", value.toString()),