remove empty constructor
This commit is contained in:
parent
986608d7ad
commit
eefeb1e19f
@ -19,9 +19,6 @@ public final class CommandRegistry implements ICommandRegistry {
|
|||||||
private final Map<String, BotCommand> commandRegistryMap = new HashMap<>();
|
private final Map<String, BotCommand> commandRegistryMap = new HashMap<>();
|
||||||
private BiConsumer<AbsSender, Message> defaultConsumer;
|
private BiConsumer<AbsSender, Message> defaultConsumer;
|
||||||
|
|
||||||
public CommandRegistry() {
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void registerDefaultAction(BiConsumer<AbsSender, Message> defaultConsumer) {
|
public void registerDefaultAction(BiConsumer<AbsSender, Message> defaultConsumer) {
|
||||||
this.defaultConsumer = defaultConsumer;
|
this.defaultConsumer = defaultConsumer;
|
||||||
|
Loading…
Reference in New Issue
Block a user