rm unneeded ref (#541)

This commit is contained in:
Jesse Plamondon-Willard 2018-06-06 22:12:22 -04:00
parent 62817de3f6
commit a555c15bab
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ namespace StardewModdingAPI.Framework.Patching
/// <summary>An implementation of <see cref="GameLocation.updateSeasonalTileSheets"/> which correctly handles custom map tilesheets.</summary> /// <summary>An implementation of <see cref="GameLocation.updateSeasonalTileSheets"/> which correctly handles custom map tilesheets.</summary>
/// <param name="__instance">The location instance being patched.</param> /// <param name="__instance">The location instance being patched.</param>
[SuppressMessage("ReSharper", "InconsistentNaming", Justification = "Argument name is defined by Harmony.")] [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")) if (!__instance.IsOutdoors || __instance.Name.Equals("Desert"))
return false; return false;