diff options
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index aa0218b..5cb9724 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -3019,19 +3019,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
3019 | m_eventManager.TriggerOnPluginConsole(args); | 3019 | m_eventManager.TriggerOnPluginConsole(args); |
3020 | } | 3020 | } |
3021 | 3021 | ||
3022 | public UUID GetLandOwner(float x, float y) | ||
3023 | { | ||
3024 | ILandObject land = LandChannel.GetLandObject(x, y); | ||
3025 | if (land == null) | ||
3026 | { | ||
3027 | return UUID.Zero; | ||
3028 | } | ||
3029 | else | ||
3030 | { | ||
3031 | return land.landData.OwnerID; | ||
3032 | } | ||
3033 | } | ||
3034 | |||
3035 | public LandData GetLandData(float x, float y) | 3022 | public LandData GetLandData(float x, float y) |
3036 | { | 3023 | { |
3037 | return LandChannel.GetLandObject(x, y).landData; | 3024 | return LandChannel.GetLandObject(x, y).landData; |