From 16fbd373c9e8431f6928e4ab1622bbbf4d83b3c7 Mon Sep 17 00:00:00 2001 From: boy0001 Date: Sun, 2 Aug 2015 16:44:37 +1000 Subject: [PATCH] Fix typo --- src/main/java/com/intellectualcrafters/plot/PS.java | 4 ++-- .../java/com/intellectualcrafters/plot/commands/Load.java | 2 +- .../com/intellectualcrafters/plot/commands/RegenAllRoads.java | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/intellectualcrafters/plot/PS.java b/src/main/java/com/intellectualcrafters/plot/PS.java index 0ea5e1842..a7bab50b8 100644 --- a/src/main/java/com/intellectualcrafters/plot/PS.java +++ b/src/main/java/com/intellectualcrafters/plot/PS.java @@ -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; } diff --git a/src/main/java/com/intellectualcrafters/plot/commands/Load.java b/src/main/java/com/intellectualcrafters/plot/commands/Load.java index 438326fa1..d2bb74401 100644 --- a/src/main/java/com/intellectualcrafters/plot/commands/Load.java +++ b/src/main/java/com/intellectualcrafters/plot/commands/Load.java @@ -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); diff --git a/src/main/java/com/intellectualcrafters/plot/commands/RegenAllRoads.java b/src/main/java/com/intellectualcrafters/plot/commands/RegenAllRoads.java index f46d5dc8b..549e94f31 100644 --- a/src/main/java/com/intellectualcrafters/plot/commands/RegenAllRoads.java +++ b/src/main/java/com/intellectualcrafters/plot/commands/RegenAllRoads.java @@ -35,7 +35,7 @@ import com.plotsquared.general.commands.Argument; import com.plotsquared.general.commands.CommandDeclaration; @CommandDeclaration( - command = "regenallroads", + command = "/plot regenallroads ", description = "Regenerate all roads in the map using the set road schematic", aliases = {"rgar"}, category = CommandCategory.DEBUG,