Fixes implicit ternary expressions
This commit is contained in:
parent
c85b0a740c
commit
ff26dfa375
345 changed files with 1905 additions and 2336 deletions
|
|
@ -16,8 +16,7 @@ namespace Server.Regions
|
|||
{
|
||||
if ( from.AccessLevel == AccessLevel.Player )
|
||||
return false;
|
||||
else
|
||||
return base.AllowHousing( from, p );
|
||||
return base.AllowHousing( from, p );
|
||||
}
|
||||
|
||||
public override bool OnBeginSpellCast( Mobile m, ISpell s )
|
||||
|
|
@ -27,10 +26,8 @@ namespace Server.Regions
|
|||
m.SendMessage( "You cannot cast that spell here." );
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
return base.OnBeginSpellCast( m, s );
|
||||
}
|
||||
|
||||
return base.OnBeginSpellCast( m, s );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue