mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Update OWML version
This commit is contained in:
parent
eaaf5cf746
commit
c2d145c6d7
@ -11,18 +11,17 @@ namespace NewHorizons.AchievementsPlus
|
||||
|
||||
public static void Init()
|
||||
{
|
||||
try
|
||||
{
|
||||
API = Main.Instance.ModHelper.Interaction.GetModApi<IAchievements>("xen.AchievementTracker");
|
||||
_enabled = true;
|
||||
}
|
||||
catch (Exception)
|
||||
API = Main.Instance.ModHelper.Interaction.TryGetModApi<IAchievements>("xen.AchievementTracker");
|
||||
|
||||
if (API == null)
|
||||
{
|
||||
Logger.Log("Achievements+ isn't installed");
|
||||
_enabled = false;
|
||||
return;
|
||||
}
|
||||
|
||||
_enabled = true;
|
||||
|
||||
// Register base NH achievements
|
||||
NH.WarpDriveAchievement.Init();
|
||||
NH.MultipleSystemAchievement.Init();
|
||||
|
||||
@ -16,7 +16,7 @@
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="HarmonyX" Version="2.10.0" />
|
||||
<PackageReference Include="OWML" Version="2.3.3" />
|
||||
<PackageReference Include="OWML" Version="2.5.2" />
|
||||
<PackageReference Include="OuterWildsGameLibs" Version="1.1.12.168" />
|
||||
<Reference Include="../Lib/System.ComponentModel.Annotations.dll" />
|
||||
</ItemGroup>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user