mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2025-02-20 14:32:18 +01:00
fix some typos/consistency errors
This commit is contained in:
parent
5fad1e0623
commit
b6a784dc1b
@ -31,7 +31,7 @@ public class CreateCommand extends MultiverseCommand {
|
||||
}
|
||||
|
||||
@Subcommand("create")
|
||||
@CommandPermission("multiverse.core.info")
|
||||
@CommandPermission("multiverse.core.create")
|
||||
@Syntax("<name> <env> -s [seed] -g [generator[:id]] -t [worldtype] [-n] -a [true|false]")
|
||||
@CommandCompletion(" @environments")
|
||||
@Description("Creates a new world and loads it.")
|
||||
@ -53,6 +53,6 @@ public class CreateCommand extends MultiverseCommand {
|
||||
flags.isSpawnAdjust())
|
||||
)
|
||||
? ChatColor.GREEN + "Complete!"
|
||||
: ChatColor.RED + "Failed to create world! See console for errors.");
|
||||
: ChatColor.RED + "Failed! See console for errors.");
|
||||
}
|
||||
}
|
||||
|
@ -40,6 +40,8 @@ public class ImportCommand extends MultiverseCommand {
|
||||
@NotNull World.Environment environment,
|
||||
@NotNull WorldFlags flags) {
|
||||
|
||||
Command.broadcastCommandMessage(sender, "Starting import of world '" + worldName + "'...");
|
||||
|
||||
String resultMessage = (this.plugin.getMVWorldManager().addWorld(worldName,
|
||||
environment,
|
||||
null,
|
||||
@ -48,7 +50,7 @@ public class ImportCommand extends MultiverseCommand {
|
||||
flags.getGenerator(),
|
||||
flags.isSpawnAdjust())
|
||||
)
|
||||
? ChatColor.GREEN + "Import complete!"
|
||||
? ChatColor.GREEN + "Complete!"
|
||||
: ChatColor.RED + "Failed! See console for more details.";
|
||||
|
||||
Command.broadcastCommandMessage(sender, resultMessage);
|
||||
|
Loading…
Reference in New Issue
Block a user