Skip to content

Commit bc70fc7

Browse files
committed
fix for some 914 upgrade items getting stuck in the ground
1 parent c7d8422 commit bc70fc7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Common Utilities/EventHandlers/MapHandlers.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@ public void OnUpgradingPickup(UpgradingPickupEventArgs ev)
4646
{
4747
if (itemType is not ItemType.None)
4848
{
49-
UpgradePickup(ev.Pickup, ev.OutputPosition, count, false, itemType: itemType);
49+
UpgradePickup(ev.Pickup, ev.OutputPosition + Vector3.up, count, false, itemType: itemType);
5050
}
5151
}
5252
else if (CustomItem.TryGet(destinationItem, out CustomItem customItem))
5353
{
5454
if (customItem is not null)
5555
{
56-
UpgradePickup(ev.Pickup, ev.OutputPosition, count, true, customItem: customItem);
56+
UpgradePickup(ev.Pickup, ev.OutputPosition + Vector3.up, count, true, customItem: customItem);
5757
}
5858
}
5959

0 commit comments

Comments
 (0)