diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2020-08-02 16:38:51 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2020-08-02 16:38:51 -0400 |
commit | 8da88b8fe5b41739c5cd0df3280b9770fc7f10a4 (patch) | |
tree | aed3679d01ee546726851982862daac2bad38b41 /src/SMAPI.Mods.ConsoleCommands/Framework/Commands/World/ClearCommand.cs | |
parent | ba0dff819f2e65b16a0c7bc7a9233fdb101994d0 (diff) | |
parent | b96bcb21894257f06716e6a51102f74d2aba5178 (diff) | |
download | SMAPI-8da88b8fe5b41739c5cd0df3280b9770fc7f10a4.tar.gz SMAPI-8da88b8fe5b41739c5cd0df3280b9770fc7f10a4.tar.bz2 SMAPI-8da88b8fe5b41739c5cd0df3280b9770fc7f10a4.zip |
Merge branch 'develop' into stable
Diffstat (limited to 'src/SMAPI.Mods.ConsoleCommands/Framework/Commands/World/ClearCommand.cs')
-rw-r--r-- | src/SMAPI.Mods.ConsoleCommands/Framework/Commands/World/ClearCommand.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/World/ClearCommand.cs b/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/World/ClearCommand.cs index e9545575..1190a4ab 100644 --- a/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/World/ClearCommand.cs +++ b/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/World/ClearCommand.cs @@ -56,7 +56,7 @@ namespace StardewModdingAPI.Mods.ConsoleCommands.Framework.Commands.World return; // get target location - GameLocation location = Game1.locations.FirstOrDefault(p => p.Name != null && p.Name.Equals(locationName, StringComparison.InvariantCultureIgnoreCase)); + GameLocation location = Game1.locations.FirstOrDefault(p => p.Name != null && p.Name.Equals(locationName, StringComparison.OrdinalIgnoreCase)); if (location == null && locationName == "current") location = Game1.currentLocation; if (location == null) |