Added ratifyBodyEntry to PlaceManager.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3561 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -108,6 +108,12 @@ public class LocationProvider
|
||||
return pmgr.getConfig();
|
||||
}
|
||||
|
||||
// make sure they have access to the specified place
|
||||
String errmsg;
|
||||
if ((errmsg = pmgr.ratifyBodyEntry(source)) != null) {
|
||||
throw new InvocationException(errmsg);
|
||||
}
|
||||
|
||||
// acquire a lock on the body object to ensure that rapid fire
|
||||
// moveTo requests don't break things
|
||||
if (!source.acquireLock("moveToLock")) {
|
||||
|
||||
Reference in New Issue
Block a user