Removes redundant returns
This commit is contained in:
parent
06fa31a7bf
commit
eeabc3d0e8
16 changed files with 77 additions and 106 deletions
|
|
@ -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 ) ) )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1099,7 +1099,6 @@ namespace Server.Items
|
|||
else
|
||||
{
|
||||
from.SendLocalizedMessage( 500446 ); // That is too far away.
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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 )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue