Mantis #5368 -- exception on WorldMap

0.7.1-dev
Diva Canto 2011-02-07 19:44:55 -08:00
parent d934add021
commit d627122cdc
1 changed files with 4 additions and 3 deletions

View File

@ -763,10 +763,11 @@ namespace OpenSim.Region.CoreModules.World.WorldMap
} }
if (!responseMap.ContainsKey(itemtype.ToString())) // remote sim doesnt have the stated region handle if (!responseMap.ContainsKey(itemtype.ToString())) // remote sim doesnt have the stated region handle
{
if (!m_blacklistedregions.ContainsKey(regionhandle))
{ {
m_log.DebugFormat("[WORLD MAP]: Remote sim does not have the stated region. Blacklisting."); m_log.DebugFormat("[WORLD MAP]: Remote sim does not have the stated region. Blacklisting.");
lock (m_blacklistedregions)
{
if (!m_blacklistedregions.ContainsKey(regionhandle))
m_blacklistedregions.Add(regionhandle, Environment.TickCount); m_blacklistedregions.Add(regionhandle, Environment.TickCount);
} }
} }