Skip to content

Commit 9fbe5ee

Browse files
committed
4.1.6a
1 parent 8feac4a commit 9fbe5ee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

NGUInjector/Managers/InventoryManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ public static void RestoreMacguffins()
558558
{
559559
Inventory.item1 = i + 1000000;
560560
// Equip highest level MacGuffins
561-
Inventory.item2 = allMacguffins.AllMaxBy(x => x.equip.level).First(x => x.equip.id == _savedMacguffins[i]).i;
561+
Inventory.item2 = allMacguffins.Where(x => x.equip.id == _savedMacguffins[i]).AllMaxBy(x => x.equip.level).First().i;
562562

563563
_ic.swapMacguffin();
564564
}

0 commit comments

Comments
 (0)