diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index a50a61d..4f09d8f 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -2766,7 +2766,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
2766 | reply.Data.ParcelID = parcelID; | 2766 | reply.Data.ParcelID = parcelID; |
2767 | reply.Data.OwnerID = land.OwnerID; | 2767 | reply.Data.OwnerID = land.OwnerID; |
2768 | reply.Data.Name = Utils.StringToBytes(land.Name); | 2768 | reply.Data.Name = Utils.StringToBytes(land.Name); |
2769 | reply.Data.Desc = Utils.StringToBytes(land.Description.Substring(0, land.Description.Length > 254 ? 254: land.Description.Length)); | 2769 | if (land != null && land.Description != null && land.Description != String.Empty) |
2770 | reply.Data.Desc = Utils.StringToBytes(land.Description.Substring(0, land.Description.Length > 254 ? 254: land.Description.Length)); | ||
2771 | else | ||
2772 | reply.Data.Desc = new Byte[0]; | ||
2770 | reply.Data.ActualArea = land.Area; | 2773 | reply.Data.ActualArea = land.Area; |
2771 | reply.Data.BillableArea = land.Area; // TODO: what is this? | 2774 | reply.Data.BillableArea = land.Area; // TODO: what is this? |
2772 | 2775 | ||