mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 20:05:33 +08:00
Remove "Dwell" support from core and replace it with calls to methods
on IDwellModule
This commit is contained in:
@@ -171,7 +171,6 @@ namespace OpenSim.Region.CoreModules.World.Land
|
||||
client.OnParcelGodForceOwner += ClientOnParcelGodForceOwner;
|
||||
client.OnParcelReclaim += ClientOnParcelReclaim;
|
||||
client.OnParcelInfoRequest += ClientOnParcelInfoRequest;
|
||||
// client.OnParcelDwellRequest += ClientOnParcelDwellRequest;
|
||||
client.OnParcelDeedToGroup += ClientOnParcelDeedToGroup;
|
||||
client.OnPreAgentUpdate += ClientOnPreAgentUpdate;
|
||||
|
||||
@@ -1512,18 +1511,6 @@ namespace OpenSim.Region.CoreModules.World.Land
|
||||
|
||||
#endregion
|
||||
|
||||
private void ClientOnParcelDwellRequest(int localID, IClientAPI remoteClient)
|
||||
{
|
||||
ILandObject selectedParcel = null;
|
||||
lock (m_landList)
|
||||
{
|
||||
if (!m_landList.TryGetValue(localID, out selectedParcel))
|
||||
return;
|
||||
}
|
||||
|
||||
remoteClient.SendParcelDwellReply(localID, selectedParcel.LandData.GlobalID, selectedParcel.LandData.Dwell);
|
||||
}
|
||||
|
||||
private void ClientOnParcelInfoRequest(IClientAPI remoteClient, UUID parcelID)
|
||||
{
|
||||
if (parcelID == UUID.Zero)
|
||||
|
||||
Reference in New Issue
Block a user