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];
parent
ff4b45a1e3
commit
ad624f703d
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue