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.");