Skip to content

Commit

Permalink
fix for some 914 upgrade items getting stuck in the ground
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikihero committed Jan 1, 2025
1 parent c7d8422 commit bc70fc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Common Utilities/EventHandlers/MapHandlers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@ public void OnUpgradingPickup(UpgradingPickupEventArgs ev)
{
if (itemType is not ItemType.None)
{
UpgradePickup(ev.Pickup, ev.OutputPosition, count, false, itemType: itemType);
UpgradePickup(ev.Pickup, ev.OutputPosition + Vector3.up, count, false, itemType: itemType);
}
}
else if (CustomItem.TryGet(destinationItem, out CustomItem customItem))
{
if (customItem is not null)
{
UpgradePickup(ev.Pickup, ev.OutputPosition, count, true, customItem: customItem);
UpgradePickup(ev.Pickup, ev.OutputPosition + Vector3.up, count, true, customItem: customItem);
}
}

Expand Down

0 comments on commit bc70fc7

Please sign in to comment.