diff --git a/src/de/steamwar/bungeecore/commands/BuilderCloudCommand.java b/src/de/steamwar/bungeecore/commands/BuilderCloudCommand.java index 640ea7af..f1eb7c03 100644 --- a/src/de/steamwar/bungeecore/commands/BuilderCloudCommand.java +++ b/src/de/steamwar/bungeecore/commands/BuilderCloudCommand.java @@ -18,7 +18,7 @@ public class BuilderCloudCommand extends SWCommand { private final Map versionMap = new HashMap<>(); public BuilderCloudCommand() { - super("buildercloud", "bungeecore.server.team"); + super("buildercloud", "bungeecore.server.team", "builder"); versionMap.put("15", ServerStarter.Version.SPIGOT_15); versionMap.put("1.15", ServerStarter.Version.SPIGOT_15); @@ -30,6 +30,7 @@ public class BuilderCloudCommand extends SWCommand { @Register(value = "create", description = "BUILDERCLOUD_CREATE_USAGE") public void create(ProxiedPlayer player, @ErrorMessage("BUILDERCLOUD_VERSION") ServerStarter.Version version, @Mapper("map") String map, @OptionalValue("") @Mapper("generator") @AllowNull File generator) { + mapFile(version, map).mkdir(); new ServerStarter().builder(version, map, generator).send(player).start(); }