*Removed some exceptions that were thrown in Land that is no longer needed.

This commit is contained in:
mingchen
2007-12-21 00:35:55 +00:00
parent 9961a5565f
commit 37ea050886
4 changed files with 126 additions and 84 deletions

View File

@@ -103,7 +103,10 @@ namespace OpenSim.Region.ExtensionsScriptModule
{
Vector myPosition = Task.AbsolutePosition;
Land myParcel = Scene.LandManager.getLandObject(myPosition.X, myPosition.Y);
if (myParcel == null)
{
//Dont do anything!
}
MainLog.Instance.Warn("script",
"Unimplemented function called by script: osAddToLandPassList(Key avatar, float hours)");
return;