forked from kaboomserver/extras
Finalize un-final command classes
This commit is contained in:
parent
88298b7007
commit
23f20226ec
2 changed files with 4 additions and 3 deletions
|
@ -10,7 +10,7 @@ import org.bukkit.command.CommandSender;
|
||||||
|
|
||||||
import javax.annotation.Nonnull;
|
import javax.annotation.Nonnull;
|
||||||
|
|
||||||
public class CommandBroadcastMM implements CommandExecutor {
|
public final class CommandBroadcastMM implements CommandExecutor {
|
||||||
private static final MiniMessage MINI_MESSAGE = MiniMessage.miniMessage();
|
private static final MiniMessage MINI_MESSAGE = MiniMessage.miniMessage();
|
||||||
|
|
||||||
public boolean onCommand(final @Nonnull CommandSender sender,
|
public boolean onCommand(final @Nonnull CommandSender sender,
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
package pw.kaboom.extras.commands;
|
package pw.kaboom.extras.commands;
|
||||||
|
|
||||||
import javax.annotation.Nonnull;
|
|
||||||
import net.kyori.adventure.text.Component;
|
import net.kyori.adventure.text.Component;
|
||||||
import net.kyori.adventure.text.event.ClickEvent;
|
import net.kyori.adventure.text.event.ClickEvent;
|
||||||
import net.kyori.adventure.text.format.NamedTextColor;
|
import net.kyori.adventure.text.format.NamedTextColor;
|
||||||
|
@ -10,7 +9,9 @@ import org.bukkit.command.Command;
|
||||||
import org.bukkit.command.CommandExecutor;
|
import org.bukkit.command.CommandExecutor;
|
||||||
import org.bukkit.command.CommandSender;
|
import org.bukkit.command.CommandSender;
|
||||||
|
|
||||||
public class CommandGetJSON implements CommandExecutor {
|
import javax.annotation.Nonnull;
|
||||||
|
|
||||||
|
public final class CommandGetJSON implements CommandExecutor {
|
||||||
public boolean onCommand(final @Nonnull CommandSender sender,
|
public boolean onCommand(final @Nonnull CommandSender sender,
|
||||||
final @Nonnull Command command,
|
final @Nonnull Command command,
|
||||||
final @Nonnull String label,
|
final @Nonnull String label,
|
||||||
|
|
Loading…
Reference in a new issue