Fix "set block timer" error after "/plot download" with legacy-webinterface setting (#3812)

Add missing `Plot.removeRunning` call to Download
This commit is contained in:
Schuwi 2022-10-01 11:37:24 +02:00 committed by GitHub
parent 3446b913cd
commit d1a85982fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()),