From a555c15babc80c87b9d49570fda43323f10539bf Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Wed, 6 Jun 2018 22:12:22 -0400 Subject: rm unneeded ref (#541) --- src/SMAPI/Framework/Patching/GameLocationPatch.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/SMAPI') diff --git a/src/SMAPI/Framework/Patching/GameLocationPatch.cs b/src/SMAPI/Framework/Patching/GameLocationPatch.cs index 669c700a..c0216b8f 100644 --- a/src/SMAPI/Framework/Patching/GameLocationPatch.cs +++ b/src/SMAPI/Framework/Patching/GameLocationPatch.cs @@ -37,7 +37,7 @@ namespace StardewModdingAPI.Framework.Patching /// An implementation of which correctly handles custom map tilesheets. /// The location instance being patched. [SuppressMessage("ReSharper", "InconsistentNaming", Justification = "Argument name is defined by Harmony.")] - private static bool Prefix(ref GameLocation __instance) + private static bool Prefix(GameLocation __instance) { if (!__instance.IsOutdoors || __instance.Name.Equals("Desert")) return false; -- cgit