Forgot to ToList both results
This commit is contained in:
@@ -199,7 +199,7 @@ public class BotHelper(
|
||||
$"Unable to filter: {randomType} PMC names to only those under: {maxLength}, none found that match that criteria, selecting from entire name pool instead`,\n"
|
||||
);
|
||||
|
||||
return _randomUtil.GetCollectionValue(allNames);
|
||||
return _randomUtil.GetCollectionValue(allNames.ToList());
|
||||
}
|
||||
|
||||
return _randomUtil.GetCollectionValue(filteredNames.ToList());
|
||||
|
||||
Reference in New Issue
Block a user