diff --git a/LootRadiusPlugin.cs b/LootRadiusPlugin.cs index d9a16dd..a285d8f 100644 --- a/LootRadiusPlugin.cs +++ b/LootRadiusPlugin.cs @@ -4,8 +4,8 @@ using DrakiaXYZ.LootRadius.Patches; namespace DrakiaXYZ.LootRadius { - [BepInPlugin("xyz.drakia.lootradius", "DrakiaXYZ-LootRadius", "1.0.1")] - [BepInDependency("com.spt-aki.core", "3.8.0")] + [BepInPlugin("xyz.drakia.lootradius", "DrakiaXYZ-LootRadius", "1.1.0")] + [BepInDependency("com.SPT.core", "3.9.0")] public class LootRadiusPlugin : BaseUnityPlugin { public static StashClass RadiusStash; diff --git a/Patches/GameStartedPatch.cs b/Patches/GameStartedPatch.cs index ccfa4dc..c24d355 100644 --- a/Patches/GameStartedPatch.cs +++ b/Patches/GameStartedPatch.cs @@ -1,4 +1,4 @@ -using Aki.Reflection.Patching; +using SPT.Reflection.Patching; using EFT.InventoryLogic; using EFT; using System; diff --git a/Patches/LootPanelClosePatch.cs b/Patches/LootPanelClosePatch.cs index 4821258..9116051 100644 --- a/Patches/LootPanelClosePatch.cs +++ b/Patches/LootPanelClosePatch.cs @@ -1,4 +1,4 @@ -using Aki.Reflection.Patching; +using SPT.Reflection.Patching; using EFT.UI; using EFT; using System; diff --git a/Patches/LootPanelOpenPatch.cs b/Patches/LootPanelOpenPatch.cs index d5fcb56..98893de 100644 --- a/Patches/LootPanelOpenPatch.cs +++ b/Patches/LootPanelOpenPatch.cs @@ -1,4 +1,4 @@ -using Aki.Reflection.Patching; +using SPT.Reflection.Patching; using EFT.Interactive; using EFT.UI; using EFT; @@ -85,7 +85,7 @@ namespace DrakiaXYZ.LootRadius.Patches AddAllowedItems(grid, nearbyItemColliders, false); // Show the stash in the inventory panel - ____simpleStashPanel.Configure(_stash, inventoryController, sourceContext.CreateChild(_stash)); + ____simpleStashPanel.Configure(_stash, inventoryController, sourceContext.CreateChild(_stash), true); _stashViewField.SetValue(__instance, ____simpleStashPanel); ____simpleStashPanel.Show(inventoryController, currentTab); diff --git a/Patches/QuestItemDragPatch.cs b/Patches/QuestItemDragPatch.cs index b62ce2c..eb03e57 100644 --- a/Patches/QuestItemDragPatch.cs +++ b/Patches/QuestItemDragPatch.cs @@ -1,4 +1,4 @@ -using Aki.Reflection.Patching; +using SPT.Reflection.Patching; using EFT.InventoryLogic; using EFT.UI.DragAndDrop; using HarmonyLib; diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index af32903..d881346 100644 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.1.0")] -[assembly: AssemblyFileVersion("1.0.1.0")] +[assembly: AssemblyVersion("1.1.0.0")] +[assembly: AssemblyFileVersion("1.1.0.0")] diff --git a/SPT-LootRadius.csproj b/SPT-LootRadius.csproj index 96bff44..6325493 100644 --- a/SPT-LootRadius.csproj +++ b/SPT-LootRadius.csproj @@ -34,14 +34,11 @@ ..\..\BepInEx\core\0Harmony.dll - - ..\..\EscapeFromTarkov_Data\Managed\Aki.Build.dll + + ..\..\BepInEx\plugins\spt\spt-common.dll - - ..\..\EscapeFromTarkov_Data\Managed\Aki.Common.dll - - - ..\..\EscapeFromTarkov_Data\Managed\Aki.Reflection.dll + + ..\..\BepInEx\plugins\spt\spt-reflection.dll ..\..\EscapeFromTarkov_Data\Managed\Assembly-CSharp.dll