Skip to content

Commit

Permalink
Merge pull request #4 from hantabaru1014/revert-3-fix_import_preserve…
Browse files Browse the repository at this point in the history
…_position

Revert "オブジェクトインポート時にHolderの位置を保持するように"
  • Loading branch information
hantabaru1014 authored Nov 21, 2023
2 parents f21fe79 + d1b7dd6 commit 239e037
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SaveItemTweaks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ static IEnumerable<CodeInstruction> Transpiler(IEnumerable<CodeInstruction> inst
static void UnpackInventoryItem(Slot slot)
{
if (!config.GetValue(CallUnpackWhenImportKey)) return;
slot.UnpackInventoryItem(preservePosition: true);
slot.UnpackInventoryItem();
Msg("Called InventoryItem.Unpack on the imported object");
}
}
Expand Down

0 comments on commit 239e037

Please sign in to comment.