From e804ed5479b3fffbe060e11d31e55499cab842f9 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Tue, 14 Feb 2017 13:11:43 -0500 Subject: mark one constant internal --- src/StardewModdingAPI/Constants.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/StardewModdingAPI') diff --git a/src/StardewModdingAPI/Constants.cs b/src/StardewModdingAPI/Constants.cs index 438c869c..db0c2622 100644 --- a/src/StardewModdingAPI/Constants.cs +++ b/src/StardewModdingAPI/Constants.cs @@ -47,9 +47,6 @@ namespace StardewModdingAPI /// The directory path containing the current save's data (if a save is loaded and the directory exists). public static string CurrentSavePath => Constants.CurrentSavePathExists ? Constants.RawSavePath : ""; - /// Whether a player save has been loaded. - public static bool PlayerNull => !Game1.hasLoadedGame || Game1.player == null || string.IsNullOrEmpty(Game1.player.name); - /// The path to the current assembly being executing. public static string ExecutionPath => Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location); @@ -77,6 +74,9 @@ namespace StardewModdingAPI /// Whether the directory containing the current save's data exists on disk. internal static bool CurrentSavePathExists => Directory.Exists(Constants.RawSavePath); + /// Whether a player save has been loaded. + internal static bool PlayerNull => !Game1.hasLoadedGame || Game1.player == null || string.IsNullOrEmpty(Game1.player.name); + /********* ** Protected methods -- cgit