diff options
Diffstat (limited to 'OpenSim/Region/Environment/LandManagement/LandManager.cs')
-rw-r--r-- | OpenSim/Region/Environment/LandManagement/LandManager.cs | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/LandManagement/LandManager.cs b/OpenSim/Region/Environment/LandManagement/LandManager.cs index 3bd8848..bdb50cc 100644 --- a/OpenSim/Region/Environment/LandManagement/LandManager.cs +++ b/OpenSim/Region/Environment/LandManagement/LandManager.cs | |||
@@ -119,10 +119,21 @@ namespace OpenSim.Region.Environment.LandManagement | |||
119 | 119 | ||
120 | public void IncomingLandObjectsFromStorage(List<LandData> data) | 120 | public void IncomingLandObjectsFromStorage(List<LandData> data) |
121 | { | 121 | { |
122 | foreach (LandData parcel in data) | 122 | for (int i = 0; i < data.Count; i++) |
123 | { | 123 | { |
124 | IncomingLandObjectFromStorage(parcel); | 124 | try |
125 | { | ||
126 | IncomingLandObjectFromStorage(data[i]); | ||
127 | } | ||
128 | catch (Exception ex) | ||
129 | { | ||
130 | MainLog.Instance.Verbose("LandManager", "IncomingLandObjectsFromStorage: Exception: " + ex.ToString() ); | ||
131 | } | ||
125 | } | 132 | } |
133 | //foreach (LandData parcel in data) | ||
134 | //{ | ||
135 | // IncomingLandObjectFromStorage(parcel); | ||
136 | //} | ||
126 | } | 137 | } |
127 | 138 | ||
128 | public void IncomingLandObjectFromStorage(LandData data) | 139 | public void IncomingLandObjectFromStorage(LandData data) |