Changes properties to use automatic property initializers
This commit is contained in:
parent
f0a48ad431
commit
06fa31a7bf
623 changed files with 13072 additions and 19304 deletions
|
|
@ -68,9 +68,8 @@ namespace Server.Items
|
|||
|
||||
#region Old Item Serialization Vars
|
||||
/* DO NOT USE! Only used in serialization of pigments that originally derived from Item */
|
||||
private bool m_InheritsItem;
|
||||
|
||||
protected bool InheritsItem => m_InheritsItem;
|
||||
protected bool InheritsItem { get; private set; }
|
||||
|
||||
#endregion
|
||||
|
||||
|
|
@ -220,7 +219,7 @@ namespace Server.Items
|
|||
}
|
||||
case 0: // Old pigments that inherited from item
|
||||
{
|
||||
m_InheritsItem = true;
|
||||
InheritsItem = true;
|
||||
|
||||
if ( this is LesserPigmentsOfTokuno )
|
||||
((LesserPigmentsOfTokuno)this).Type = (LesserPigmentType)reader.ReadEncodedInt();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue