mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Finish plumbing RezRestoreToWorld.
This commit is contained in:
@@ -6588,7 +6588,22 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
|
||||
private bool HandlerRezRestoreToWorld(IClientAPI sender, Packet Pack)
|
||||
{
|
||||
return false;
|
||||
RezRestoreToWorldPacket restore = (RezRestoreToWorldPacket)Pack;
|
||||
|
||||
#region Packet Session and User Check
|
||||
if (m_checkPackets)
|
||||
{
|
||||
if (restore.AgentData.SessionID != SessionId ||
|
||||
restore.AgentData.AgentID != AgentId)
|
||||
return true;
|
||||
}
|
||||
#endregion
|
||||
|
||||
RezRestoreToWorld handlerRezRestoreToWorld = OnRezRestoreToWorld;
|
||||
if (handlerRezRestoreToWorld != null)
|
||||
handlerRezRestoreToWorld(this, restore.InventoryData.ItemID);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
private bool HandlerModifyLand(IClientAPI sender, Packet Pack)
|
||||
|
||||
Reference in New Issue
Block a user