Make all command constructors public (#14)

This commit is contained in:
EnZaXD 2023-07-31 13:02:37 +02:00 committed by GitHub
parent 2ac955cc0a
commit c5fbafe015
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 7 additions and 7 deletions

View File

@ -26,7 +26,7 @@ public class AdminChatCommand extends Commander
*
* @param plugin The plugin which contains this command.
*/
protected AdminChatCommand(@NotNull final JavaPlugin plugin)
public AdminChatCommand(@NotNull final JavaPlugin plugin)
{
super(plugin);
}

View File

@ -42,7 +42,7 @@ import org.jetbrains.annotations.NotNull;
@Completion(args = {"[material]"}, index = 2)
public class CageCommand extends Commander
{
protected CageCommand(final @NotNull JavaPlugin plugin)
public CageCommand(final @NotNull JavaPlugin plugin)
{
super(plugin);
}

View File

@ -36,7 +36,7 @@ public class ClearDropsCommand extends Commander
*
* @param plugin The plugin which contains this command.
*/
protected ClearDropsCommand(final @NotNull JavaPlugin plugin)
public ClearDropsCommand(final @NotNull JavaPlugin plugin)
{
super(plugin);
}

View File

@ -29,7 +29,7 @@ public class ClearEntitiesCommand extends Commander
*
* @param plugin The plugin which contains this command.
*/
protected ClearEntitiesCommand(final @NotNull JavaPlugin plugin)
public ClearEntitiesCommand(final @NotNull JavaPlugin plugin)
{
super(plugin);
}

View File

@ -32,7 +32,7 @@ public class HaltCommand extends Commander
*
* @param plugin The plugin which contains this command.
*/
protected HaltCommand(@NotNull final JavaPlugin plugin)
public HaltCommand(@NotNull final JavaPlugin plugin)
{
super(plugin);
}

View File

@ -35,7 +35,7 @@ public class ManageUserCommand extends Commander
*
* @param plugin The plugin which contains this command.
*/
protected ManageUserCommand(final @NotNull JavaPlugin plugin)
public ManageUserCommand(final @NotNull JavaPlugin plugin)
{
super(plugin);
}

View File

@ -25,7 +25,7 @@ public class SmiteCommand extends Commander
*
* @param plugin The plugin which contains this command.
*/
protected SmiteCommand(@NotNull final JavaPlugin plugin)
public SmiteCommand(@NotNull final JavaPlugin plugin)
{
super(plugin);
}