mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2025-02-21 15:01:30 +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")
|
@Subcommand("create")
|
||||||
@CommandPermission("multiverse.core.info")
|
@CommandPermission("multiverse.core.create")
|
||||||
@Syntax("<name> <env> -s [seed] -g [generator[:id]] -t [worldtype] [-n] -a [true|false]")
|
@Syntax("<name> <env> -s [seed] -g [generator[:id]] -t [worldtype] [-n] -a [true|false]")
|
||||||
@CommandCompletion(" @environments")
|
@CommandCompletion(" @environments")
|
||||||
@Description("Creates a new world and loads it.")
|
@Description("Creates a new world and loads it.")
|
||||||
@ -53,6 +53,6 @@ public class CreateCommand extends MultiverseCommand {
|
|||||||
flags.isSpawnAdjust())
|
flags.isSpawnAdjust())
|
||||||
)
|
)
|
||||||
? ChatColor.GREEN + "Complete!"
|
? 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 World.Environment environment,
|
||||||
@NotNull WorldFlags flags) {
|
@NotNull WorldFlags flags) {
|
||||||
|
|
||||||
|
Command.broadcastCommandMessage(sender, "Starting import of world '" + worldName + "'...");
|
||||||
|
|
||||||
String resultMessage = (this.plugin.getMVWorldManager().addWorld(worldName,
|
String resultMessage = (this.plugin.getMVWorldManager().addWorld(worldName,
|
||||||
environment,
|
environment,
|
||||||
null,
|
null,
|
||||||
@ -48,7 +50,7 @@ public class ImportCommand extends MultiverseCommand {
|
|||||||
flags.getGenerator(),
|
flags.getGenerator(),
|
||||||
flags.isSpawnAdjust())
|
flags.isSpawnAdjust())
|
||||||
)
|
)
|
||||||
? ChatColor.GREEN + "Import complete!"
|
? ChatColor.GREEN + "Complete!"
|
||||||
: ChatColor.RED + "Failed! See console for more details.";
|
: ChatColor.RED + "Failed! See console for more details.";
|
||||||
|
|
||||||
Command.broadcastCommandMessage(sender, resultMessage);
|
Command.broadcastCommandMessage(sender, resultMessage);
|
||||||
|
Loading…
Reference in New Issue
Block a user