This commit is contained in:
boy0001 2015-08-02 16:44:37 +10:00
parent 4acf88e09d
commit 16fbd373c9
3 changed files with 4 additions and 4 deletions

View File

@ -1071,13 +1071,13 @@ public class PS {
return null;
}
if (link == null) {
PS.debug("&dCould not check for updates");
PS.debug("&dCould not check for updates (1)");
PS.debug("&7 - Manually check for updates: " + url);
return null;
}
return link;
} catch (Exception e) {
PS.debug("&dCould not check for updates");
PS.debug("&dCould not check for updates (2)");
PS.debug("&7 - Manually check for updates: " + url);
return null;
}

View File

@ -77,7 +77,7 @@ public class Load extends SubCommand {
}
final URL url;
try {
url = new URL(Settings.WEB_URL + "saves/" + plr.getUUID() + "/" + schem);
url = new URL(Settings.WEB_URL + "saves/" + plr.getUUID() + "/" + schem + ".schematic");
} catch (MalformedURLException e) {
e.printStackTrace();
MainUtil.sendMessage(plr, C.LOAD_FAILED);

View File

@ -35,7 +35,7 @@ import com.plotsquared.general.commands.Argument;
import com.plotsquared.general.commands.CommandDeclaration;
@CommandDeclaration(
command = "regenallroads",
command = "/plot regenallroads <world>",
description = "Regenerate all roads in the map using the set road schematic",
aliases = {"rgar"},
category = CommandCategory.DEBUG,