Fix some checkstyles for generator command

This commit is contained in:
Ben Woo 2023-09-23 09:50:22 +08:00
parent ac174dcf66
commit d6ccbd9eee
No known key found for this signature in database
GPG Key ID: FB2A3645536E12C8

View File

@ -1,5 +1,7 @@
package org.mvplugins.multiverse.core.commands;
import java.util.List;
import co.aikar.commands.InvalidCommandArgument;
import co.aikar.commands.MessageType;
import co.aikar.commands.annotation.CommandAlias;
@ -13,6 +15,7 @@ import jakarta.inject.Inject;
import org.bukkit.ChatColor;
import org.jetbrains.annotations.NotNull;
import org.jvnet.hk2.annotations.Service;
import org.mvplugins.multiverse.core.commandtools.MVCommandIssuer;
import org.mvplugins.multiverse.core.commandtools.MVCommandManager;
import org.mvplugins.multiverse.core.commandtools.MultiverseCommand;
@ -27,8 +30,6 @@ import org.mvplugins.multiverse.core.display.parsers.ListContentProvider;
import org.mvplugins.multiverse.core.utils.MVCorei18n;
import org.mvplugins.multiverse.core.world.generators.GeneratorProvider;
import java.util.List;
/**
* List all gamerules in your current or specified world.
*/
@ -79,8 +80,7 @@ class GeneratorsCommand extends MultiverseCommand {
@Optional
@Syntax("[--page <page>] [--filter <filter>]")
@Description("{@@mv-core.generators.description.flags}")
String[] flags
) {
String[] flags) {
ParsedCommandFlags parsedFlags = parseFlags(flags);
// Get the generators loaded using the command suggestions