This commit is contained in:
mark 2009-07-01 11:14:27 +00:00
parent 03fc95bfb7
commit 879e2fc778
12 changed files with 255 additions and 166 deletions

View file

@ -262,6 +262,10 @@ namespace Server.Commands
for ( int i = 0; i < realProps.Length; ++i )
{
object obj = realProps[i].GetValue( realObjs[i], null );
if( !( obj is IConvertible ) )
return "Property is not IConvertable.";
long v = (long)Convert.ChangeType( obj, TypeCode.Int64 );
v += realValues[i];