mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 13:55:35 +08:00
ParcelObjectOwnersReplyPacket has null DataBlock when a client requests a list of their prims in the region and none exist. Instead of leaving pack.Data null, this patch sets a new DataBlock[0];
This commit is contained in:
@@ -4158,6 +4158,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
|
||||
pack.Data = dataBlock;
|
||||
}
|
||||
else
|
||||
{
|
||||
pack.Data = new ParcelObjectOwnersReplyPacket.DataBlock[0];
|
||||
}
|
||||
pack.Header.Zerocoded = true;
|
||||
this.OutPacket(pack, ThrottleOutPacketType.Task);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user