massive branch sync
This commit is contained in:
parent
489bbabe93
commit
b3e8ec0a08
192 changed files with 1249 additions and 1124 deletions
|
|
@ -266,10 +266,18 @@ namespace Server.Commands
|
|||
if( !( obj is IConvertible ) )
|
||||
return "Property is not IConvertable.";
|
||||
|
||||
long v = (long)Convert.ChangeType( obj, TypeCode.Int64 );
|
||||
v += realValues[i];
|
||||
try
|
||||
{
|
||||
|
||||
realProps[i].SetValue( realObjs[i], Convert.ChangeType( v, realProps[i].PropertyType ), null );
|
||||
long v = (long)Convert.ChangeType( obj, TypeCode.Int64 );
|
||||
v += realValues[i];
|
||||
|
||||
realProps[i].SetValue( realObjs[i], Convert.ChangeType( v, realProps[i].PropertyType ), null );
|
||||
}
|
||||
catch
|
||||
{
|
||||
return "Value could not be converted";
|
||||
}
|
||||
}
|
||||
|
||||
if ( realProps.Length == 1 )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue