From 9e51c2db95fd43aa18e66d359c15349bdc9ad8f0 Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Mon, 6 Apr 2009 07:17:23 +0000 Subject: * Implements World.Parcels[] array for MRM scripting. --- OpenSim/Region/CoreModules/World/Land/LandChannel.cs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'OpenSim/Region/CoreModules/World/Land/LandChannel.cs') diff --git a/OpenSim/Region/CoreModules/World/Land/LandChannel.cs b/OpenSim/Region/CoreModules/World/Land/LandChannel.cs index 9822af7..f0ab955 100644 --- a/OpenSim/Region/CoreModules/World/Land/LandChannel.cs +++ b/OpenSim/Region/CoreModules/World/Land/LandChannel.cs @@ -86,6 +86,15 @@ namespace OpenSim.Region.CoreModules.World.Land return obj; } + public ILandObject GetLandObject(int localID) + { + if (m_landManagementModule != null) + { + return m_landManagementModule.GetLandObject(localID); + } + return null; + } + public ILandObject GetLandObject(int x, int y) { if (m_landManagementModule != null) -- cgit v1.1