From f12619b78665a6f6b148c870d36b528428cf78b4 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Fri, 6 Mar 2009 20:44:31 +0000 Subject: * refactor: Remove GetLandOwner function from Scene * Simplify since the land is never null --- OpenSim/Region/Framework/Scenes/Scene.cs | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'OpenSim/Region/Framework') 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 m_eventManager.TriggerOnPluginConsole(args); } - public UUID GetLandOwner(float x, float y) - { - ILandObject land = LandChannel.GetLandObject(x, y); - if (land == null) - { - return UUID.Zero; - } - else - { - return land.landData.OwnerID; - } - } - public LandData GetLandData(float x, float y) { return LandChannel.GetLandObject(x, y).landData; -- cgit v1.1