Fix kit removal
Fixes
@@ -10,13 +10,10 @@ import io.github.nucleuspowered.nucleus.internal.annotations.RunAsync;
import io.github.nucleuspowered.nucleus.internal.annotations.command.NoModifiers;
import io.github.nucleuspowered.nucleus.internal.annotations.command.Permissions;
import io.github.nucleuspowered.nucleus.internal.annotations.command.RegisterCommand;
-import io.github.nucleuspowered.nucleus.internal.command.AbstractCommand;
import io.github.nucleuspowered.nucleus.internal.permissions.SuggestedLevel;
import io.github.nucleuspowered.nucleus.modules.kit.commands.KitFallbackBase;
-import io.github.nucleuspowered.nucleus.modules.kit.handlers.KitHandler;
import org.spongepowered.api.command.CommandResult;
import org.spongepowered.api.command.CommandSource;
-import org.spongepowered.api.command.args.CommandArgs;
import org.spongepowered.api.command.args.CommandContext;
import org.spongepowered.api.command.args.CommandElement;
import org.spongepowered.api.command.args.GenericArguments;
@@ -37,7 +34,9 @@ public class KitRemoveCommand extends KitFallbackBase<CommandSource> {
@Override
public CommandElement[] getArguments() {
- return new CommandElement[] {GenericArguments.onlyOne(new KitArgument(Text.of(KIT_HANDLER), false))};
+ return new CommandElement[] {
+ GenericArguments.onlyOne(new KitArgument(Text.of(KIT_PARAMETER), false))
+ };
}
@Override
