chore: Fixes variable types for possible performance issues (#2172)
This commit is contained in:
parent
6d43f2549c
commit
da517f56c4
82 changed files with 332 additions and 343 deletions
|
|
@ -4941,7 +4941,7 @@ namespace Server.Mobiles
|
|||
{
|
||||
if (Backpack?.Items.Count > 0)
|
||||
{
|
||||
Backpack b = new CreatureBackpack(Name);
|
||||
var b = new CreatureBackpack(Name);
|
||||
|
||||
var list = new List<Item>(Backpack.Items);
|
||||
foreach (var item in list)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue