BUG: Fix InventoryCraft() failing to apply certain item properties for non-extended items

This commit is contained in:
bananarama92 2025-03-28 17:20:10 +01:00
parent 60ebf457f4
commit b19d0746c4
No known key found for this signature in database
GPG key ID: E83C7D3B5DA36248

View file

@ -715,6 +715,8 @@ function InventoryCraft(Source, Target, GroupName, Craft, Refresh, PreConfigureI
Target, Item, Craft.TypeRecord,
{ push: false, refresh: false, C_Source: Source, properties: Craft.ItemProperty },
);
} else {
Object.assign(Item.Property, Craft.ItemProperty ?? {});
}
// Applies a lock to the item