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; return null;
} }
if (link == 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); PS.debug("&7 - Manually check for updates: " + url);
return null; return null;
} }
return link; return link;
} catch (Exception e) { } 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); PS.debug("&7 - Manually check for updates: " + url);
return null; return null;
} }

View File

@ -77,7 +77,7 @@ public class Load extends SubCommand {
} }
final URL url; final URL url;
try { 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) { } catch (MalformedURLException e) {
e.printStackTrace(); e.printStackTrace();
MainUtil.sendMessage(plr, C.LOAD_FAILED); MainUtil.sendMessage(plr, C.LOAD_FAILED);

View File

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