Save world before download

This commit is contained in:
Jesse Boyd 2017-09-30 00:28:39 +10:00
parent 8b6cc7a193
commit 9480c70655
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -104,6 +104,7 @@ public class Download extends SubCommand {
} }
MainUtil.sendMessage(player, "&cNote: The `.mca` files are 512x512"); MainUtil.sendMessage(player, "&cNote: The `.mca` files are 512x512");
plot.addRunning(); plot.addRunning();
WorldUtil.IMP.saveWorld(world);
WorldUtil.IMP.upload(plot, null, null, new RunnableVal<URL>() { WorldUtil.IMP.upload(plot, null, null, new RunnableVal<URL>() {
@Override @Override
public void run(URL url) { public void run(URL url) {