From 7900a84bd68d7c9450bba719ce925b61043875f3 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Sun, 26 Jul 2020 02:50:20 -0400 Subject: use ordinal comparison/sorting instead of invariant --- src/SMAPI/Framework/SMultiplayer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/SMAPI/Framework/SMultiplayer.cs') diff --git a/src/SMAPI/Framework/SMultiplayer.cs b/src/SMAPI/Framework/SMultiplayer.cs index 8c444e45..f3b5e9b9 100644 --- a/src/SMAPI/Framework/SMultiplayer.cs +++ b/src/SMAPI/Framework/SMultiplayer.cs @@ -373,7 +373,7 @@ namespace StardewModdingAPI.Framework // filter by mod ID if (toModIDs != null) { - HashSet sendToMods = new HashSet(toModIDs, StringComparer.InvariantCultureIgnoreCase); + HashSet sendToMods = new HashSet(toModIDs, StringComparer.OrdinalIgnoreCase); if (sendToSelf && toModIDs.All(id => this.ModRegistry.Get(id) == null)) sendToSelf = false; -- cgit