general cleanup, fixed a slightly improbably crash issue
This commit is contained in:
parent
6780b3c2e7
commit
b9e3476d8b
26 changed files with 62 additions and 67 deletions
|
|
@ -267,7 +267,7 @@ namespace Server.Gumps
|
|||
|
||||
if ( obj == null )
|
||||
m_Mobile.SendMessage( "The property is null and so you cannot view its properties." );
|
||||
else if ( !Server.Commands.Generic.BaseCommand.IsAccessible( m_Mobile, obj ) )
|
||||
else if ( !BaseCommand.IsAccessible( m_Mobile, obj ) )
|
||||
m_Mobile.SendMessage( "You may not view their properties." );
|
||||
else
|
||||
viewProps = obj;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue