Skip to content

Commit

Permalink
Update QuickTransferPatch.cs
Browse files Browse the repository at this point in the history
fix overload  ammo in weapon
  • Loading branch information
reysonk authored Jun 23, 2024
1 parent 43c7e96 commit f8d2a1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/CactusPie.ContainerQuickLoot/QuickTransferPatch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -225,10 +225,10 @@ private static bool TryMergeItemIntoAnExistingStack(
return false;
}

foreach (Item targetItem in inventory.Equipment.GetAllItems())
foreach (Item targetItem in inventory.Equipment.GetNotMergedItems().Reverse())
{
if (targetItem.Template._id != item.Template._id)
{
{
continue;
}

Expand Down

0 comments on commit f8d2a1f

Please sign in to comment.