Fixes null propogation
This commit is contained in:
parent
22ab83ea9e
commit
3c9842ee5a
218 changed files with 799 additions and 1458 deletions
|
|
@ -69,8 +69,7 @@ namespace Server.Spells.Chivalry
|
|||
|
||||
Timer t = (Timer)m_Table[weapon];
|
||||
|
||||
if ( t != null )
|
||||
t.Stop();
|
||||
t?.Stop();
|
||||
|
||||
weapon.Consecrated = true;
|
||||
|
||||
|
|
|
|||
|
|
@ -36,8 +36,7 @@ namespace Server.Spells.Chivalry
|
|||
|
||||
Timer t = (Timer)m_Table[Caster];
|
||||
|
||||
if ( t != null )
|
||||
t.Stop();
|
||||
t?.Stop();
|
||||
|
||||
int delay = ComputePowerValue( 10 );
|
||||
|
||||
|
|
|
|||
|
|
@ -35,8 +35,7 @@ namespace Server.Spells.Chivalry
|
|||
|
||||
Timer t = (Timer)m_Table[Caster];
|
||||
|
||||
if ( t != null )
|
||||
t.Stop();
|
||||
t?.Stop();
|
||||
|
||||
double delay = (double)ComputePowerValue( 1 ) / 60;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue