From 45399e48c4d197ecbb6aec0354ea159edd645694 Mon Sep 17 00:00:00 2001 From: Dominic Date: Sat, 30 Jan 2021 23:08:04 -0600 Subject: [PATCH] Amended a missing return --- ModSupport/ModCalls.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ModSupport/ModCalls.cs b/ModSupport/ModCalls.cs index fe262dc8db..e429195022 100644 --- a/ModSupport/ModCalls.cs +++ b/ModSupport/ModCalls.cs @@ -1758,7 +1758,7 @@ namespace CalamityMod return new ArgumentException("ERROR: All arguments after the calling command to \"ExcludeMinionsFromResurrection\" must be ints."); CalamityLists.MinionsToNotResurrectList.AddRange(secondaryArguments.Select(argument => Convert.ToInt32(argument))); - break; + return null; default: return new ArgumentException("ERROR: Invalid method name.");