mirror of
https://git.alee14.me/shiftos-archive/ShiftOS_TheReturn.git
synced 2025-01-22 18:02:16 +00:00
moar fixes n' stuff
This commit is contained in:
parent
91f97a65b2
commit
18604c054a
1 changed files with 3 additions and 2 deletions
|
@ -295,10 +295,11 @@ namespace ShiftOS.Server
|
|||
object result = null;
|
||||
try
|
||||
{
|
||||
result = Convert.ChangeType(JsonConvert.DeserializeObject(msg.Contents), mAttrib.ExpectedType);
|
||||
result = JsonConvert.DeserializeObject(msg.Contents, mAttrib.ExpectedType);
|
||||
}
|
||||
catch
|
||||
catch (Exception ex)
|
||||
{
|
||||
Console.WriteLine(ex);
|
||||
result = null;
|
||||
}
|
||||
if (result == null)
|
||||
|
|
Loading…
Reference in a new issue