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