muffin v7.4.18
This commit is contained in:
parent
53aa9fdee8
commit
f82b9ce2a2
50 changed files with 142364 additions and 230361 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue