Need to splice the arguments, too.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6417 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Andrzej Kapolka
2011-01-06 03:30:51 +00:00
parent 5a66c46308
commit 2572112560
@@ -66,8 +66,7 @@ public class PeerUtil
_pmethods.put(method, smethod = svc.getClass().getMethod(
method.getName(), ArrayUtil.splice(ptypes, 0, 1)));
}
args[0] = client;
return smethod.invoke(svc, args);
return smethod.invoke(svc, ArrayUtil.splice(args, 0, 1));
}
}));
}