Lot moves to ItemInstance at key 11; stacks merge, split, restore and root by lot

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Nibu 2026-11-13 03:00:44 +00:00
commit 00a036427d
5 changed files with 16 additions and 12 deletions

View file

@ -225,7 +225,7 @@ public static class RunSave
var roots = zones
.SelectMany(zone => zone.Contents?.Entities ?? new List<EntityPack>())
.SelectMany(EntitySerializer.Items)
.OfType<CraftedItemInstance>()
.Where(item => item.Lot != 0)
.Select(item => item.Lot);
cache.Commit(batch =>
{