Forgot to ToList both results

This commit is contained in:
Chomp
2025-02-25 12:55:12 +00:00
parent c857359b5a
commit 15f042435f
+1 -1
View File
@@ -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());