Fixes implicit ternary expressions
This commit is contained in:
parent
c85b0a740c
commit
ff26dfa375
345 changed files with 1905 additions and 2336 deletions
|
|
@ -308,7 +308,8 @@ namespace Server.Commands.Generic
|
|||
m_From.SendGump( new InterfaceGump( m_From, m_Columns, m_List, m_Page, m_Item ) );
|
||||
return;
|
||||
}
|
||||
else if ( !BaseCommand.IsAccessible( m_From, m_Item ) )
|
||||
|
||||
if ( !BaseCommand.IsAccessible( m_From, m_Item ) )
|
||||
{
|
||||
m_From.SendMessage( "That is no longer accessible." );
|
||||
m_From.SendGump( new InterfaceGump( m_From, m_Columns, m_List, m_Page, m_Item ) );
|
||||
|
|
@ -469,7 +470,8 @@ namespace Server.Commands.Generic
|
|||
m_From.SendGump( new InterfaceGump( m_From, m_Columns, m_List, m_Page, m_Mobile ) );
|
||||
return;
|
||||
}
|
||||
else if ( !BaseCommand.IsAccessible( m_From, m_Mobile ) )
|
||||
|
||||
if ( !BaseCommand.IsAccessible( m_From, m_Mobile ) )
|
||||
{
|
||||
m_From.SendMessage( "That is no longer accessible." );
|
||||
m_From.SendGump( new InterfaceGump( m_From, m_Columns, m_List, m_Page, m_Mobile ) );
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ namespace Server.Commands.Generic
|
|||
{
|
||||
RangeCommandImplementor impl = RangeCommandImplementor.Instance;
|
||||
|
||||
impl?.Process( 18, @from, command, args );
|
||||
impl?.Process( 18, from, command, args );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue