This commit is contained in:
parent
7ad00dceac
commit
0b4c3b15d9
41 changed files with 976 additions and 144 deletions
|
|
@ -143,7 +143,7 @@ namespace Server.Commands
|
|||
from.SendMessage( "Property ({0}) not found.", propName );
|
||||
else if ( from.AccessLevel < attr.WriteLevel )
|
||||
from.SendMessage( "Setting this property ({0}) requires at least {1} access level.", propName, Mobile.GetAccessLevelName( attr.WriteLevel ) );
|
||||
else if ( !thisProp.CanWrite )
|
||||
else if ( !thisProp.CanWrite || attr.ReadOnly )
|
||||
from.SendMessage( "Property ({0}) is read only.", propName );
|
||||
else
|
||||
realProps[i] = thisProp;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue