From c14acf8a06efea404ce3360860175d2cea1bc5c9 Mon Sep 17 00:00:00 2001 From: Melanie Date: Sat, 29 Jan 2011 04:51:11 +0000 Subject: Adapt to CM --- OpenSim/Region/CoreModules/World/Land/PrimCountModule.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim') diff --git a/OpenSim/Region/CoreModules/World/Land/PrimCountModule.cs b/OpenSim/Region/CoreModules/World/Land/PrimCountModule.cs index 34ef67f..2d1979f 100644 --- a/OpenSim/Region/CoreModules/World/Land/PrimCountModule.cs +++ b/OpenSim/Region/CoreModules/World/Land/PrimCountModule.cs @@ -169,7 +169,7 @@ namespace OpenSim.Region.CoreModules.World.Land if (m_ParcelCounts.TryGetValue(landData.GlobalID, out parcelCounts)) { UUID landOwner = landData.OwnerID; - int partCount = obj.Parts.Length; + int partCount = obj.GetPartCount(); m_SimwideCounts[landOwner] += partCount; if (parcelCounts.Users.ContainsKey(obj.OwnerID)) -- cgit v1.1