Fix clone command newworld replacement id

This commit is contained in:
Ben Woo 2023-09-08 23:10:47 +08:00
parent 27ff3b7a7b
commit 17f2f58c1d
No known key found for this signature in database
GPG Key ID: FB2A3645536E12C8

View File

@ -68,7 +68,7 @@ public class CloneCommand extends MultiverseCommand {
) {
ParsedCommandFlags parsedFlags = parseFlags(flags);
issuer.sendInfo(MVCorei18n.CLONE_CLONING, "{world}", world.getName(), "{newWorld}", newWorldName);
issuer.sendInfo(MVCorei18n.CLONE_CLONING, "{world}", world.getName(), "{newworld}", newWorldName);
worldManager.cloneWorld(CloneWorldOptions.fromTo(world, newWorldName)
.keepWorldConfig(!parsedFlags.hasFlag("--reset-world-config"))
.keepGameRule(!parsedFlags.hasFlag("--reset-gamerules"))