upstream #1

Closed
bridge wants to merge 65 commits from feat/upstream into 2.X
Showing only changes of commit cdda0f0e47 - Show all commits

View file

@ -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());