Fixes implicit ternary expressions

This commit is contained in:
Kamron Batman 2018-09-14 14:56:48 -07:00
parent c85b0a740c
commit ff26dfa375
345 changed files with 1905 additions and 2336 deletions

View file

@ -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 );
}
}
}