feat: Replaces params array with params ReadOnlySpan (#2125)
This commit is contained in:
parent
90059c5e74
commit
279b10dd0f
15 changed files with 36 additions and 35 deletions
|
|
@ -423,7 +423,7 @@ public partial class Container : Item
|
|||
return false;
|
||||
}
|
||||
|
||||
public virtual bool TryDropItems(Mobile from, bool sendFullMessage, params Item[] droppedItems)
|
||||
public virtual bool TryDropItems(Mobile from, bool sendFullMessage, params ReadOnlySpan<Item> droppedItems)
|
||||
{
|
||||
var dropItems = new List<Item>();
|
||||
var stackItems = new List<ItemStackEntry>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue