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
|
|
@ -157,15 +157,13 @@ namespace Server.Spells.Spellweaving
|
|||
{
|
||||
private Mobile m_Mobile;
|
||||
|
||||
private GiftOfLifeSpell m_Spell;
|
||||
|
||||
public GiftOfLifeSpell Spell => m_Spell;
|
||||
public GiftOfLifeSpell Spell { get; }
|
||||
|
||||
public ExpireTimer( Mobile m, TimeSpan delay, GiftOfLifeSpell spell )
|
||||
: base( delay )
|
||||
{
|
||||
m_Mobile = m;
|
||||
m_Spell = spell;
|
||||
Spell = spell;
|
||||
}
|
||||
|
||||
protected override void OnTick()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue