mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 21:26:45 +01:00
Save world before download
This commit is contained in:
parent
8b6cc7a193
commit
9480c70655
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user