diff --git a/commands-core/src/main/java/com/intellectualsites/commands/Command.java b/commands-core/src/main/java/com/intellectualsites/commands/Command.java index 1dceb880..f688d73c 100644 --- a/commands-core/src/main/java/com/intellectualsites/commands/Command.java +++ b/commands-core/src/main/java/com/intellectualsites/commands/Command.java @@ -49,10 +49,10 @@ public class Command { @Nullable private final Class senderType; @Nonnull private final String commandPermission; - protected Command(@Nonnull final List> commandComponents, - @Nonnull final CommandExecutionHandler commandExecutionHandler, - @Nullable final Class senderType, - @Nonnull final String commandPermission) { + public Command(@Nonnull final List> commandComponents, + @Nonnull final CommandExecutionHandler commandExecutionHandler, + @Nullable final Class senderType, + @Nonnull final String commandPermission) { this.components = Objects.requireNonNull(commandComponents, "Command components may not be null"); if (this.components.size() == 0) { throw new IllegalArgumentException("At least one command component is required");