diff --git a/Patches/SortPatches.cs b/Patches/SortPatches.cs index abe169b..9c5a638 100644 --- a/Patches/SortPatches.cs +++ b/Patches/SortPatches.cs @@ -5,7 +5,6 @@ using EFT.UI; using EFT.UI.DragAndDrop; using HarmonyLib; using SPT.Reflection.Patching; -using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Threading.Tasks; @@ -34,6 +33,11 @@ public static class SortPatches [PatchPrefix] public static bool Prefix(LootItemClass sortingItem, InventoryControllerClass controller, bool simulate, ref GStruct414 __result) { + if (IncludeContainers) + { + return true; + } + __result = Sorter.Sort(sortingItem, controller, IncludeContainers, simulate); return false; } diff --git a/server/src/RagfairLinkedSlotItemService.ts b/server/src/RagfairLinkedSlotItemService.ts index c53a5cd..fa65326 100644 --- a/server/src/RagfairLinkedSlotItemService.ts +++ b/server/src/RagfairLinkedSlotItemService.ts @@ -56,6 +56,4 @@ export class RagfairLinkedSlotItemService extends RagfairLinkedItemService { return results; } - - private getCategoryItems(category: string) {} }