This commit is contained in:
parent
03fc95bfb7
commit
879e2fc778
12 changed files with 255 additions and 166 deletions
|
|
@ -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];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue