File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -314,7 +314,7 @@ private bool SetCollection(string arguments)
314314 }
315315
316316 var anySuccess = false ;
317- foreach ( var identifier in identifiers . Distinct ( ) )
317+ foreach ( var identifier in identifiers . Distinct ( ) . DefaultIfEmpty ( ActorIdentifier . Invalid ) )
318318 {
319319 var oldCollection = _collectionManager . Active . ByType ( type , identifier ) ;
320320 if ( collection == oldCollection )
@@ -360,6 +360,7 @@ private bool SetCollection(string arguments)
360360 Print (
361361 $ "Removed { oldCollection . Name } as { type . ToName ( ) } Collection assignment { ( identifier . IsValid ? $ " for { identifier } ." : "." ) } ") ;
362362 anySuccess = true ;
363+ continue ;
363364 }
364365
365366 _collectionManager . Active . SetCollection ( collection ! , type , individualIndex ) ;
You can’t perform that action at this time.
0 commit comments