Just check if the message event is private.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4650 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2007-04-06 20:53:49 +00:00
parent 5843ce777c
commit cbb661337f
@@ -329,7 +329,7 @@ public class PlaceManager
// If the message is directed at us, see if it's a request for
// a method invocation
if (event instanceof ServerMessageEvent) {
if (event.isPrivate()) { // aka if (event instanceof ServerMessageEvent)
// the first argument should be the client object of the caller or null if it is
// a server-originated event
int srcoid = event.getSourceOid();