mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2025-01-25 09:41:23 +01:00
Fix regen world keeping seed not working
This commit is contained in:
parent
d8334ad71a
commit
379e0172c4
@ -80,7 +80,7 @@ public class RegenCommand extends MultiverseCommand {
|
||||
() -> {
|
||||
issuer.sendInfo(MVCorei18n.REGEN_REGENERATING, "{world}", world.getName());
|
||||
worldManager.regenWorld(RegenWorldOptions.world(world)
|
||||
.randomSeed(!parsedFlags.hasFlagValue("--seed"))
|
||||
.randomSeed(parsedFlags.hasFlag("--seed"))
|
||||
.seed(parsedFlags.flagValue("--seed", String.class))
|
||||
.keepWorldConfig(!parsedFlags.hasFlag("--reset-world-config"))
|
||||
.keepGameRule(!parsedFlags.hasFlag("--reset-gamerules"))
|
||||
|
Loading…
Reference in New Issue
Block a user