Skip to content

Commit 4ec5d5b

Browse files
author
magiclu550
committed
[proxy] toCharArray
1 parent 74c8784 commit 4ec5d5b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

jsmod2/NetworkHandler.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,10 @@ public JsonSetting[] handle(object api, Dictionary<string, string> mapper)
227227
if (Utils.isCommon(types[i]))
228228
{
229229
dArgs[i] = Utils.getTypeValue(args[i]);
230+
if (types[i] == typeof(char))
231+
{
232+
dArgs[i] = dArgs[0].ToString().ToCharArray()[0];
233+
}
230234
}
231235
else
232236
{

jsmod2/bin/Debug/jsmod2.pdb

2.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)