a few changes to EstateDataRemoteConnector, LoadEstateSettings can not be fatal so work around it

This commit is contained in:
UbitUmarov
2024-09-22 23:37:42 +01:00
parent 00c0816275
commit a9be42a304
5 changed files with 65 additions and 86 deletions

View File

@@ -1059,7 +1059,7 @@ namespace OpenSim
m_log.WarnFormat("[ESTATE] Region {0} is not part of an estate.", regInfo.RegionName);
List<EstateSettings> estates = EstateDataService.LoadEstateSettingsAll();
Dictionary<string, EstateSettings> estatesByName = new Dictionary<string, EstateSettings>();
Dictionary<string, EstateSettings> estatesByName = [];
foreach (EstateSettings estate in estates)
estatesByName[estate.EstateName] = estate;