Skip to content

Commit 8a77dc8

Browse files
committed
Add --properties syntax to create command
1 parent 77382da commit 8a77dc8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/org/mvplugins/multiverse/core/commands/CreateCommand.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class CreateCommand extends CoreCommand {
5353
@CommandPermission("multiverse.core.create")
5454
@CommandCompletion("@empty @environments @flags:groupName=" + Flags.NAME)
5555
@Syntax("<name> <environment> [--seed <seed> --generator <generator[:id]> --world-type <worldtype> --adjust-spawn "
56-
+ "--no-structures --biome <biome>]")
56+
+ "--no-structures --biome <biome> --properties <prop1=value1,prop2=value2,...>]")
5757
@Description("{@@mv-core.create.description}")
5858
void onCreateCommand(
5959
MVCommandIssuer issuer,
@@ -68,7 +68,7 @@ void onCreateCommand(
6868

6969
@Optional
7070
@Syntax("[--seed <seed> --generator <generator[:id]> --world-type <worldtype> --adjust-spawn "
71-
+ "--no-structures --biome <biome>]")
71+
+ "--no-structures --biome <biome> --properties <prop1=value1,prop2=value2,...>]")
7272
@Description("{@@mv-core.create.flags.description}")
7373
String[] flagArray) {
7474
ParsedCommandFlags parsedFlags = flags.parse(flagArray);

0 commit comments

Comments
 (0)