mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 11:55:38 +01:00
Fix typo
This commit is contained in:
parent
4acf88e09d
commit
16fbd373c9
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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);
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user