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
|
|
@ -32,17 +32,11 @@ namespace Server.Mobiles
|
|||
{
|
||||
base.InitOutfit();
|
||||
|
||||
Item item = Utility.RandomBool() ? null : new RingmailChest();
|
||||
Item item = Utility.RandomBool() ? new FullApron() : new RingmailChest();
|
||||
|
||||
if (item != null && !EquipItem(item))
|
||||
if (!EquipItem(item))
|
||||
{
|
||||
item.Delete();
|
||||
item = null;
|
||||
}
|
||||
|
||||
if (item == null)
|
||||
{
|
||||
AddItem(new FullApron());
|
||||
}
|
||||
|
||||
AddItem(new Bascinet());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue