location is an object, compare appropriately.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@374 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -315,7 +315,7 @@ public class SpotSceneManager extends SceneManager
|
|||||||
|
|
||||||
// make sure we're in the same scene as said user
|
// make sure we're in the same scene as said user
|
||||||
BodyObject friend = (BodyObject)tobj;
|
BodyObject friend = (BodyObject)tobj;
|
||||||
if (friend.location != joiner.location) {
|
if (!friend.location.equals(joiner.location)) {
|
||||||
Log.info("Refusing cluster join from non-proximate user [joiner=" + joiner.who() +
|
Log.info("Refusing cluster join from non-proximate user [joiner=" + joiner.who() +
|
||||||
", jloc=" + joiner.location + ", target=" + friend.who() +
|
", jloc=" + joiner.location + ", target=" + friend.who() +
|
||||||
", tloc=" + friend.location + "].");
|
", tloc=" + friend.location + "].");
|
||||||
|
|||||||
Reference in New Issue
Block a user