muffin v7.4.18

This commit is contained in:
alydev 2026-03-26 14:56:12 +10:00
parent 53aa9fdee8
commit f82b9ce2a2
50 changed files with 142364 additions and 230361 deletions

View file

@ -200,9 +200,7 @@ internal sealed class ContextMenuController : IDisposable
int num = 1;
List<GatheredItem> list = new List<GatheredItem>(num);
CollectionsMarshal.SetCount(list, num);
Span<GatheredItem> span = CollectionsMarshal.AsSpan(list);
int index = 0;
span[index] = new GatheredItem
CollectionsMarshal.AsSpan(list)[0] = new GatheredItem
{
ItemId = itemId,
ItemCount = quantity,