From 15f042435fa4c5d18efcf5f3272af0546f3e0ead Mon Sep 17 00:00:00 2001 From: Chomp Date: Tue, 25 Feb 2025 12:55:12 +0000 Subject: [PATCH] Forgot to ToList both results --- Libraries/Core/Helpers/BotHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/Core/Helpers/BotHelper.cs b/Libraries/Core/Helpers/BotHelper.cs index 88f0adf1..0646b7ce 100644 --- a/Libraries/Core/Helpers/BotHelper.cs +++ b/Libraries/Core/Helpers/BotHelper.cs @@ -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());