fix action commands, ughh
This commit is contained in:
parent
33bd65f766
commit
cdda0f0e47
1 changed files with 0 additions and 1 deletions
|
@ -38,7 +38,6 @@ public class ActionRegistryImpl implements ActionRegistry {
|
|||
|
||||
public List<InteractionCommandHandler> getCommands() {
|
||||
return serializerMap.values().stream()
|
||||
.filter(type -> type instanceof InteractionActionImpl)
|
||||
.filter(type -> type instanceof InteractionCommandHandler)
|
||||
.map(type -> (InteractionCommandHandler) type)
|
||||
.collect(Collectors.toList());
|
||||
|
|
Loading…
Reference in a new issue