summaryrefslogtreecommitdiff
path: root/StardewModdingAPI/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to 'StardewModdingAPI/Program.cs')
-rw-r--r--StardewModdingAPI/Program.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/StardewModdingAPI/Program.cs b/StardewModdingAPI/Program.cs
index e6ba103b..fcc247e2 100644
--- a/StardewModdingAPI/Program.cs
+++ b/StardewModdingAPI/Program.cs
@@ -35,8 +35,8 @@ namespace StardewModdingAPI
public static Texture2D DebugPixel { get; private set; }
- public static bool StardewInjectorLoaded { get; private set; }
- public static Mod StardewInjectorMod { get; private set; }
+ // ReSharper disable once PossibleNullReferenceException
+ public static int BuildType => (int) StardewProgramType.GetField("buildType", BindingFlags.Public | BindingFlags.Static).GetValue(null);
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////