Make where() not freak out if we do not yet have our place object.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2320 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: PlaceManager.java,v 1.43 2003/02/26 17:54:56 mdb Exp $
|
// $Id: PlaceManager.java,v 1.44 2003/03/25 01:12:29 mdb Exp $
|
||||||
|
|
||||||
package com.threerings.crowd.server;
|
package com.threerings.crowd.server;
|
||||||
|
|
||||||
@@ -9,6 +9,7 @@ import java.util.Iterator;
|
|||||||
import java.util.Properties;
|
import java.util.Properties;
|
||||||
|
|
||||||
import com.samskivert.util.HashIntMap;
|
import com.samskivert.util.HashIntMap;
|
||||||
|
import com.samskivert.util.StringUtil;
|
||||||
|
|
||||||
import com.threerings.presents.data.ClientObject;
|
import com.threerings.presents.data.ClientObject;
|
||||||
import com.threerings.presents.server.InvocationManager;
|
import com.threerings.presents.server.InvocationManager;
|
||||||
@@ -338,7 +339,8 @@ public class PlaceManager
|
|||||||
*/
|
*/
|
||||||
public String where ()
|
public String where ()
|
||||||
{
|
{
|
||||||
return String.valueOf(_plobj.getOid());
|
return StringUtil.shortClassName(this) + ":" + (
|
||||||
|
(_plobj != null) ? String.valueOf(_plobj.getOid()) : "-1");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user