mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2025-02-21 23:11:50 +01:00
Fix regen command random seed flag
This commit is contained in:
parent
8fdb13765e
commit
33e440ffec
@ -42,6 +42,7 @@ class RegenCommand extends CoreCommand {
|
|||||||
private final CommandValueFlag<String> SEED_FLAG = flag(CommandValueFlag.builder("--seed", String.class)
|
private final CommandValueFlag<String> SEED_FLAG = flag(CommandValueFlag.builder("--seed", String.class)
|
||||||
.addAlias("-s")
|
.addAlias("-s")
|
||||||
.completion(input -> Collections.singleton(String.valueOf(new Random().nextLong())))
|
.completion(input -> Collections.singleton(String.valueOf(new Random().nextLong())))
|
||||||
|
.optional()
|
||||||
.build());
|
.build());
|
||||||
|
|
||||||
private final CommandFlag RESET_WORLD_CONFIG_FLAG = flag(CommandFlag.builder("--reset-world-config")
|
private final CommandFlag RESET_WORLD_CONFIG_FLAG = flag(CommandFlag.builder("--reset-world-config")
|
||||||
|
Loading…
Reference in New Issue
Block a user