Do nothing when MonoMod is not working
This commit is contained in:
parent
f0439f97a3
commit
02aabe7a45
|
@ -251,3 +251,4 @@ paket-files/
|
|||
# JetBrains Rider
|
||||
.idea/
|
||||
*.sln.iml
|
||||
**/*.vshistory/
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Reflection;
|
||||
using Android.OS;
|
||||
using Harmony;
|
||||
using Microsoft.Xna.Framework.Content;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
|
@ -29,6 +30,8 @@ namespace StardewModdingAPI.Mods.CustomLocalization
|
|||
|
||||
public override void Entry(IModHelper helper)
|
||||
{
|
||||
if (Build.VERSION.SdkInt < BuildVersionCodes.M)
|
||||
return;
|
||||
Instance = this;
|
||||
ModConfig = helper.ReadConfig<ModConfig>();
|
||||
ModPath = helper.DirectoryPath;
|
||||
|
|
|
@ -14,6 +14,9 @@
|
|||
<Reference Include="0Harmony">
|
||||
<HintPath>..\libs\0Harmony.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Mono.Android">
|
||||
<HintPath>..\libs\Mono.Android.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MonoGame.Framework">
|
||||
<HintPath>..\libs\\MonoGame.Framework.dll</HintPath>
|
||||
</Reference>
|
||||
|
|
Loading…
Reference in New Issue