Removes redundant returns

This commit is contained in:
Kamron Batman 2018-09-14 15:40:02 -07:00
parent 06fa31a7bf
commit eeabc3d0e8
16 changed files with 77 additions and 106 deletions

View file

@ -325,7 +325,6 @@ namespace Server.Items
else if ( m_Map.m_Decoder != from && !m_Map.HasRequiredSkill( from ) )
{
from.SendLocalizedMessage( 503031 ); // You did not decode this map and have no clue where to look for the treasure.
return;
}
else if ( !from.CanBeginAction( typeof( TreasureMap ) ) )
{

View file

@ -1099,7 +1099,6 @@ namespace Server.Items
else
{
from.SendLocalizedMessage( 500446 ); // That is too far away.
return;
}
}

View file

@ -90,7 +90,6 @@ namespace Server.Items
public override void OnChop( Mobile from )
{
from.SendLocalizedMessage( 500489 ); // You can't use an axe on that.
return;
}
public override void GetProperties( ObjectPropertyList list )